Jump to content

invoking the garbage collector....


BrianKitts
 Share

Recommended Posts

I just finished reading brian's lastest visualization insider about memory mangement. This actually has been one of my favorites of the articles so far, because it explains alot of the tricks I've picked up over time, but never fully understood why/how the tricks work their magic.

 

In the section regarding attaching large meshes together and memory loss at the end discusses reclaiming memory by purging the attachment process from the undo stack. When I'm attaching alot of meshes and start running out of memory, I always run the garbage collector free up memory...... typing "gc()" into the maxscript listenter helps to keep from crashing when having alot of high poly meshes to attach.

 

Just wondering if this is/isn't a good thing to do as opposed to performing a couple simple actions to purge the action from the list...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...