A Button to Reset Excess Memory that 3dsmax Holds
I am watching 3dsmax memory usage via windows task manager (under processes tab) while working, and 3dsmax.exe holds a lot of memory . If my scene is over 500 mb, (archviz exteriors tend to get to that) I have to watch it because a few heavy global changes in the scene might make 3dsmax crash. I found out most of this memory usage is undo data.
This kind of storage is sometimes necessary, but sometimes it just drains all memory and slows workflow. Usually we decide about this on the fly. To deal with this memory problem without changing scene undo levels, (to reset undo data) I usually create a box and change its height segments from 1 to 2 and back and repeat. Till I fill up all undo steps and see the memory amount next to 3dsmax.exe drops in windows task manager. But this is tedious.
Instead, I am requesting a button to reset undo steps, without changing scene undo levels. (+any other excess memory/cache or data I dont know of that 3dsmax holds)
Also if 3dsmax can warn the user about reaching to a memory meltdown, or about critical ram memory usage that would be great. It would be a great addition to the viewport statistics.
Thank you.
1 comment
-
AdminMartin B
(Admin, Autodesk)
commented
FWIW, simply typing
gc()
into the MAXScript listener and hitting enter will free the undo buffer.
Furthermore, you can typefreeSceneBitmaps()
to free up all the memory used by the image file bitmap caches, but I am not sure how much effect that will have.