Is it enough to call ObjectContainer3D.dispose() to remove if from Flashplayer memory? Or do I need to iterate all the children and all the subgeometries and dispose of everything seperatly?
Getting an object out of memorySoftware: Away3D 4.x |
||
|
||
80prozent, Sr. Member
Posted: 07 January 2013 06:21 PM Total Posts: 430 [ # 1 ] hi disposing the object should do, but it will still be in memory till the next time the garbageCollector will be automaticlly executed. if you are trying to delete something, but the memeory does not get freed in reasonable time, keep in mind that a object will not be deleted from memory, as long as it is still referenced by something. hope that helps |
||
bart_the_13th, Newbie
Posted: 09 January 2013 10:31 AM Total Posts: 14 [ # 2 ] I believe you can force gc to run by calling System.gc() twice. Not a good idea to put it in the main loop though |