free up memory 3ds max

View previous topic View next topic Go down

free up memory 3ds max

Post by mammoo_03 on Tue Apr 19, 2011 11:22 am

sir/mam, hope this can help guys, just seen this on the net...

If your Max scene is getting sluggish or you run out of memory when you try to render. There are a few script functions that might help you out.

gc() Garbage Collection.
freescenebitmaps() Cleans up in texture memory.
clearUndoBuffer() Removes your Undo’s.


Just type the one you want in the lower left text field in max and press return.

Note: If you have windows task manager open and monitoring 3ds Max memory use, you can see the result straight away.
And that is pretty much it… if you want to go further and make the functions more accessible read below on how to make it into a script that you can run directly from a button on your Toolbar.

I put all 3 functions into a small script you can run instead of manually typing it in every time.

Script Right click and select save as:

Once saved, just run the script from the MAXScripts menu en 3ds Max…

If you want a more permanent solution you can create a button on your Toolbar with the script. All you have to do is open the script, instead of run, you select open and load the script.

Once the script is open you have to run the Menu>Evaluate all (Ctrl-E) from the MAXScript menu bar. (in older versions of Max the Evaluate All is under File in the menu)

To add the script to a button all you have to do is right-click in the Toolbar and select Customize…

Then just locate “MyScripts” and drag and drop the Free Up Memory Action to your Toolbar.

Once the button is created you can change the text and add a logo instead if you want. Just right click the button and select “Edit Button Appearance” there are a bunch of icons to choose from.

heres the link:

http://www.characterink.com/2010/10/25/quick-tip-1-free-up-memory-in-3ds-max/


Last edited by mammoo_03 on Tue Apr 19, 2011 11:25 am; edited 1 time in total (Reason for editing : add link)

mammoo_03
The Exhibitioner
The Exhibitioner

Number of posts: 2279
Age: 32
Location: manila, makati, dubai
Registration date: 21/09/2008

View user profile http://www.coroflot.com/archmlcm

Back to top Go down

Re: free up memory 3ds max

Post by Norman on Tue Apr 19, 2011 12:42 pm

nice link sir mammoooooooo!!!!!! bookmarked na ito!!!!hehe....

Norman
CGP Expert
CGP Expert

Number of posts: 2943
Age: 30
Location: Singapore
Registration date: 22/06/2009

View user profile http://www.normancaguiat.webs.com

Back to top Go down

Re: free up memory 3ds max

Post by mhyles on Tue Apr 19, 2011 12:52 pm

ayos ito sir mamoo thanks for sharing sir

mhyles
CGP Apprentice
CGP Apprentice

Number of posts: 347
Age: 56
Location: riyadh sa lugar ng mga cute kung na saan ang cute
Registration date: 29/01/2011

View user profile

Back to top Go down

Re: free up memory 3ds max

Post by theomatheus on Tue Apr 19, 2011 2:32 pm

malaking tulong to!!!! salamat sir

theomatheus
CGP Guru
CGP Guru

Number of posts: 1303
Age: 29
Location: planet obsidian panopticon
Registration date: 06/07/2009

View user profile

Back to top Go down

Re: free up memory 3ds max

Post by mez on Tue Apr 19, 2011 3:50 pm

thanks for sharing! thumbsup

mez
CGP Expert
CGP Expert

Number of posts: 2115
Age: 28
Location: mandaue city,cebu
Registration date: 24/07/2010

View user profile

Back to top Go down

Re: free up memory 3ds max

Post by krizaliehs07 on Tue Apr 19, 2011 5:16 pm

salamat po mam 2thumbsup

krizaliehs07
CGP Apprentice
CGP Apprentice

Number of posts: 661
Age: 32
Location: Kesong Puti & Buko Pie
Registration date: 20/07/2009

View user profile

Back to top Go down

Re: free up memory 3ds max

Post by mammoo_03 on Tue Apr 19, 2011 7:05 pm

your welcome guys...

mammoo_03
The Exhibitioner
The Exhibitioner

Number of posts: 2279
Age: 32
Location: manila, makati, dubai
Registration date: 21/09/2008

View user profile http://www.coroflot.com/archmlcm

Back to top Go down

Re: free up memory 3ds max

Post by reygerali on Wed Apr 20, 2011 5:15 pm

Thanks for sharing sir mammoo_03.

Just an add-on.
for someone whos lazy to configure.
I created a script with button without configuration.
Just simply drag and drop to your viewport. voila..


Download HERE

reygerali
CGP Apprentice
CGP Apprentice

Number of posts: 363
Age: 29
Location:
Registration date: 24/11/2008

View user profile http://reygerali.blog.com

Back to top Go down

Re: free up memory 3ds max

Post by Norman on Thu Apr 21, 2011 1:31 am

reygerali wrote:Thanks for sharing sir mammoo_03.

Just an add-on.
for someone whos lazy to configure.
I created a script with button without configuration.
Just simply drag and drop to your viewport. voila..


Download HERE



gawa mo ito rey?walangjo ka talaga!!!!lupet mo talaga!!!!!TFS din sayo pre!!!

Norman
CGP Expert
CGP Expert

Number of posts: 2943
Age: 30
Location: Singapore
Registration date: 22/06/2009

View user profile http://www.normancaguiat.webs.com

Back to top Go down

Re: free up memory 3ds max

Post by reygerali on Thu Apr 21, 2011 7:02 pm

Thanks sir Norman. panglipas oras muna while rendering..heehhehe ina-update kona rin.

MEMORY CLEANER v2
- A little update with added pop-up status and a maxscript listener status.
- Just to notify you when its done cleaning.. enjoy..


Download HERE

reygerali
CGP Apprentice
CGP Apprentice

Number of posts: 363
Age: 29
Location:
Registration date: 24/11/2008

View user profile http://reygerali.blog.com

Back to top Go down

Re: free up memory 3ds max

Post by bunny_blue06 on Thu Apr 21, 2011 8:48 pm

laking tulong nito si mamoo, salamat din sa script sir rey. More power sa CGP, thanks for always sharing your ideas.

bunny_blue06
CGP Apprentice
CGP Apprentice

Number of posts: 410
Age: 26
Location: abu dhabi, UAE
Registration date: 25/12/2010

View user profile

Back to top Go down

Re: free up memory 3ds max

Post by mammoo_03 on Sun Apr 24, 2011 12:15 pm

thanks sir reygerali ayos din ito.

mammoo_03
The Exhibitioner
The Exhibitioner

Number of posts: 2279
Age: 32
Location: manila, makati, dubai
Registration date: 21/09/2008

View user profile http://www.coroflot.com/archmlcm

Back to top Go down

Re: free up memory 3ds max

Post by andy32 on Sun Apr 24, 2011 1:38 pm

grabe! lupit pala dito nice! Very Happy

andy32
CGP Apprentice
CGP Apprentice

Number of posts: 235
Registration date: 22/07/2009

View user profile

Back to top Go down

Re: free up memory 3ds max

Post by bongskeigle on Mon Apr 25, 2011 3:49 am

thanks guys!

bongskeigle
CGP Guru
CGP Guru

Number of posts: 1815
Age: 28
Location: Zebu
Registration date: 06/05/2009

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum