Site Navigation
QuakeOne News
» Latest News
» News Archives
» QuakeOne Movies

QuakeOne Help
» File Downloads
» Quake Help
» Quake Servers

QuakeOne Community
» Forums
» Chat *new*
» Poll Booth
» Memberlist
» Member Map

Site Info
» Community Rules
» Moderator List

» Buy Quake

Visit On Facebook!Visit QuakeOne
on Facebook

Log in
User Name:


Not a member yet?
Register Now!
Online Users: 344
3 members and 341 guests
siger, TheKillingJoke
Most users ever online was 2,542, 06-04-2016 at 12:58 AM.
Go Back Home > Forum Search Forums

View Single Post
Unread 09-28-2016, 10:21 PM   #8 (permalink)
The man who sold the world
MadGypsy's Avatar
Posts: 5,057
+/-  Reputation: MadGypsy has a spectacular aura aboutMadGypsy has a spectacular aura aboutMadGypsy has a spectacular aura about
Join Date: Feb 2011
Currently: Offline

Or I'll just figure it out right now. Thanks System.gc(); //gc = garbage collection. It's lucky that I'm using AIR. If I was using flash calling System.gc() only works in debug mode. Supposedly, calling System.gc() is a last resort and bad practice. All I know is this:

1) it works exactly as I hoped
2) I call it when I am done with everything
3) There are 600m of HD textures loaded in the ram and this map isn't using a 10th of them

fuck a best practice. Who knows how long it would take flash to recycle those resources. A minute? Never? It seemed more like a never...System.gc();

25 is a lot better than 700.

Edit: I ran a little test with e1m1 and no HD textures but leaving in System.gc(). My last score of 32m is now 22m and actually, after my last draft of allocBlock e1m1 went up to 34m (but now all maps work) and I'm down to 22. I don't think I can get it any lower than this.

woops I forgot to include the skybox images.... It went up 1m.

Last edited by MadGypsy; 09-28-2016 at 10:48 PM..
Reply With Quote

All times are GMT -6. The time now is 05:32 AM.

eXTReMe Tracker