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 QuakeOne.com On Facebook!Visit QuakeOne
on Facebook

Log in
User Name:

Password:

Not a member yet?
Register Now!
Online Users: 391
13 members and 378 guests
303, Adam, Blood Vengeance, Bloodshot, Bloughsburgh, daeel, Focalor, hgdagon, lennox, MissBubbles, nahuel, Tea Monster
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)
MadGypsy
The man who sold the world
MadGypsy's Avatar
USER INFO »
Posts: 5,015
+/-  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.
__________________
X_Michael

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

All times are GMT -6. The time now is 05:39 PM.


eXTReMe Tracker