I have two problems:
1) I am noticed that some of *.max files size is rapidly becoming too large. Even adding a couple of box primitives in empty scene is cause file to grow up to 185 Mb. The Reactor - Collision - Do not store.
What’s the reason for that?
2) While writing to you my question, I closed the scene and now I can’t open it because that problem scene is crashes every time I try to open it again. With the most of my overly large scenes I got a problem with reopening.
I think these two issues are related. Help me please to resolve it!
Hi, Yes, the problem with oversize *.max files is exist. Sometimes even absolutely empty scene may weigh a hundred megabytes and more. The first time I faced with this bug that was when I open some 3ds Max 2009 models in 3ds Max 2013.
As I understand, it is a buggy algorithm which saves the scene controllers data. The approximate nature of the bug is that some of 3ds Max versions mistakenly preserves this type of data, even in an empty scene with no geometry or other objects at all. You can merge such a scene in other scene few times and the size of acceptor scene will be increased each time on a bugged donor scene controller’s «weight».
By the way, scenes with this bug is not only take a lot of disk space, but almost always, that kind of scenes saves very slowly, 3ds max freezes all the time. Sometimes to close such a frizzed scene there is nothing to left except using Windows Task Manager => End Task.
There is no standard 3ds Max tool to resolve it, at least I did not find it. However, good people or maybe even the developers themselves, wrote a script that simply cleans the scene from these garbage metadata. To clean the scene from these controllers, you need: - download cleaning script "clean_motionclip.ms" and open the problematic scene - keeping scene open go to MAXScript => Run Script ... - using "Choose Editor File" dialog find and choose downloaded file «clean_motionclip.ms», don’t forget unpack them from archive first
That’s all. The script will clear extra metadata. As a result, the scene will be no longer occupy an inadequate volume on the disk and you get rid of annoying freezes.
Sometimes it happens that you use in your scene the 3d models which were made with using of Reactor simulation.
Than the scene can contain information about Collisions of simulation objects. In this case, getting rid of Collisions is a little easier. It is enough to choose Command Panel => Utilities => Reactor tab and click the "Clear" button in the Collisions rollout. Then 3ds Max itself will clear of the scene from unnecessary data 😉
Tremendously thank you! Very useful thing.
I have this problem for the first time. The customer asks me to change the scene, but it is impossible to work in it. The scene freezes at the opening, closing and saving.
I tried to remove all superfluous using a script. It does not work for my scene. When I run the script this window appears:
Scene file size is 3.79 Gb. A lot, I know. Max 2009. Why the script dos not clear my scene? It doesn't work for 3ds Max 2009?
With what version of 3ds Max this script will work?
The script run on all versions.
Why then the script doesn't run properly on my max 2009 ?
It is a script error; to understand the problem you need to review the script code)
I do not write a scripts and unfortunately I can't help you with that.
Ellesar, thanks for reply.
Cool script. Heel everything. I had a file that consuming the 23Gb of RAM (max 2013). Now only the 5Gb. Is there a difference? Yeah?
Thanks a lot 😉
As Ellesar noted you get the script error. It sounds paradoxically, but it is a good error. Specifically, this script message «--Unknown property: “controller” in undefined» mean that script did not find any garbage that it must to clean. In other words, your scene is cleared from metadata garbage. Even if your run this script on bugged scene twice you’ll get this error on second run, because first run is initiates the cleaning and there is nothing to clean at the second run 😁
Anton thank you. Really, that window appears in the second run of the script in the same scene. First run was without errors.
BBBIIIIIIIIIIIGGGGG THANKS FOR THIS SCRIPT. That problem drives me crazy. I tried different methods and scripts. Nothing helped. But this solution is a miracle!!! File size decreased more than three times. 300 mb - 99 mb !!! Thank you! You made a big deal and I love you very much 😘
Dear RenderStuff, you are priceless for what you done. I'll climb up a wall to get rid of this problem. From 560 to 106 Mb is definitely better! By the way, I pay my attention that when the file size become overmuch overloaded, the RAM overloaded too. After the scene healing everything fell into place. CPU – 100% load, RAM – only 60%.
I downloaded a 2,5 Mb file with the sofa 3d model. Then I open it and delete some geometry details and save the file. Of course I expected that size of a file would be less than 2,5 Mb. Instead of tis the file size is increase from 2,5 to 8,5. After next save file size increased even more. Why so? How to deal with this?
Why the 3ds Max freezes on few minutes after rendering is done? 3ds Max 2012. Scene 4,2mln poly. Intel Core i7-2600K CPU workstation with 8GB of RAM running on Windows 7 64bit.
Anton (RenderStuff), many thanks!!! You just saved me! Literally at the last moment I was able to finish all the renders and send them to my client! I’ve almost lost a hope to finish my current project. The scene file size was 1.4 gigabytes!!! After running the script file size squeezed to 26 Mb !!!!!! Thank you, thank you, thank you !!!!!! 👍
Anton (RenderStuff) thank you!!! I am already thought that I caught a virus with downloaded model 🙂🙂🙂 Only the loooooot of RAM saving my projects from crush. Thanks again for the tip !!!
Hello,The problem is that the empty scene file takes an 80 mb. I’be trying to run a different cleaning scripts but they don’t help.What to do???
Anton, you're super-man indeed! Thank you!
Thanks to Anton for helping people. But for some reason these script is not helpful to me. Right now I am using the 3ds Max 2015 and it freezes for 1-2 minutes’ every hour or even more often. The computer is powerful, has a lot of memory, processor and video-adapter also powerful.
In earlier versions of 3ds Max that script works perfect but in 2015 it didn’t work at all.
Hi, As you said, the scene size increasing bug is inherent only for 3ds Max versions before 2015 (but not inclusive). In 3ds Max 2015 and older it is simply does not exist that kind of problem and the cleaning scripts are not needed any more. I am using 3ds Max 2015 right now and have a deal with dozens-objects animations made by different people. Any abnormal enlargement of the scene I have not seen.
As for the "friezes" you are talking about, they are more like a pauses during 3ds Max auto-saving process on a too slow drive. Save your scene (Ctrl + S) forcibly and try to do something in it at the same time. If 3ds Max behavior will be exactly the same as under the "friezes" mentioned by you, then most likely it's actually the normal auto-save instead of some kind of bug.
Anton, most likely you are right about auto-saving. My scene contains more than the 9 million polygons and occupies over the 500 megabytes of disk space. Then I turned off auto-save option and the friezes are disappeared. The Automatically saving of a huge file every 2 minutes was my problem.
🙂 Much thanks! I'm using both of these methods. Always helps.
A huge human thanks! The file size has decreased from 485 MB to 85 MB!
Thank you so much! Really helped!