PDA

View Full Version : free memory from render loop


Daniel-001
05-14-2006, 07:49 AM
hi there ,

i am using a array which store all of the address path of the .maxfiles which i would like to redner . the main idea is that i want to load the path of the maxfile by the method "loadMaxFile" from the array and then do the render in the for loop ,However , it is quite trouble that it will out of memory using if the loop continue , how can i free all the memory of my computer when finish once time of the looping?:sad:

anyway thx so much.

regards.
daniel

Gibbz
05-16-2006, 11:44 AM
checkout garbage colleciton in the max help

"gc()" will clear everything(including history)

CGTalk Moderation
05-16-2006, 11:44 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.