michaelidesm Posted July 7, 2010 Share Posted July 7, 2010 Greetings all. I am working on a model that is not particularly heavy but the actual max file is enormous. It is just under 500mb, but the wierd this is that if i delete all the elements in the file, the size of the file is still about 380mb. Thats 380mb for a blank 3ds max file. How can i get rid of the huge volume. I have already unhidden all objects and deleted everything in order to test from where is that size coming from but still no luck. Is there a similar command like purge in autocad where you could get rid of all unused info contained in a file? Many Thanks... Link to comment Share on other sites More sharing options...
mattclinch Posted July 7, 2010 Share Posted July 7, 2010 it must have some kind of model/line data in the file somewhere. i'd go through this list and double check you have no extraneous data somewhere. - make sure you have unhidden all layers - make sure you have unfrozen all - make sure you have all types of object visible (geometry, splines, helpers etc) - run a garbage collection? - try merging the file into a new file to see if it imports any objects? if all else fails, try 'save selected' the objects you definately want, merge them into a new files and trasfer your settings... M Link to comment Share on other sites More sharing options...
michaelidesm Posted July 7, 2010 Author Share Posted July 7, 2010 Hi Matt. Many thanks for your reply. I have tried what you suggested, but no change. Imagine that if i select one wall or tree or window and save selected in a different file then that file weighs 376mb. i am starting to think that its something to do with the specific file. what do you mean by garbage collection? Link to comment Share on other sites More sharing options...
Sketchrender Posted July 7, 2010 Share Posted July 7, 2010 Garbage collection? What is that i never heard of it? Phil Link to comment Share on other sites More sharing options...
mattclinch Posted July 7, 2010 Share Posted July 7, 2010 Scenes will often take weeks to fully develop and are open and closed by several people may make many edits along the way. All this activity has a tendency to leave remnants of commands and objects in the file, which can slow production. Entering gc() in the Maxscript listener window at the bottom left of the display, and pressing Enter can often purge the current file from much of this unnecessary data. Figure 5. [ATTACH=CONFIG]38015[/ATTACH] Figure 5: Garbage collection with Maxscript can reduce file sizes and make scenes more efficient. http://www.cgarchitect.com/upclose/article29_TB.asp Link to comment Share on other sites More sharing options...
xenomyosin Posted July 7, 2010 Share Posted July 7, 2010 You can reduce the size of your max files by: 1. Going to the max preferences 2. Go to the 'Files' tab 3. Check 'compress on save' Your files will now have a much smaller file size. Hope this helps! Simon Blakeney Link to comment Share on other sites More sharing options...
Sketchrender Posted July 7, 2010 Share Posted July 7, 2010 I don't think thats what he meant, its the file size is very big to use and slowing down. Not storing it. Could be wrong , generally am. phil philYou can reduce the size of your max files by: 1. Going to the max preferences 2. Go to the 'Files' tab 3. Check 'compress on save' Your files will now have a much smaller file size. Hope this helps! Simon Blakeney Link to comment Share on other sites More sharing options...
-MerlyN- Posted July 7, 2010 Share Posted July 7, 2010 save selected each object seperately until you find the culprit. if it is an object with a huge modifier stack collapse the stack and see, if that helps. if not, collaps ethe object to editable poly, go to element sub obj level, detach as copy, save selected the newly created copy. that should fix the filesize. Link to comment Share on other sites More sharing options...
michaelidesm Posted July 7, 2010 Author Share Posted July 7, 2010 Firstly thanks to all who read and posted on this thread. However i have tried what has been suggested so far with no luck so basicaly i am thinking it is not a normal senario. And to solve this situation i decided to regenerate the 3D model. And this is where the funny thing is: i tried to xref the cameras that existed on the previous file so as to keep the same viewponts, and just by importing the cameras and merging them into the scene (only the cameras nothing else!!!!) the file size grew by 360mb. It must be some sort of a bug in that specific file that i causing this. Link to comment Share on other sites More sharing options...
Nils Norgren Posted July 7, 2010 Share Posted July 7, 2010 We had this problem a few weeks ago, there is a problem with the Motion Mixer in Character Studio. If you launch it you will find thousands of empty lines. Someone posted a fix for this a few weeks ago here... http://forums.cgarchitect.com/35748-max-file-grew-too-big-pls-help.html#post275178 Good Luck, -Nils (neoscape) Link to comment Share on other sites More sharing options...
Nic H Posted July 7, 2010 Share Posted July 7, 2010 we had this problem recently as well - but it was from reactor storing collision data. the file size was massive and would come in even if you merged a material from the 'infected' file into a new file. clearing the reactor tab of collisions fixed it. took a while to work out! i was convinced it was the motion mixer bug. great fun. Link to comment Share on other sites More sharing options...
michaelidesm Posted July 7, 2010 Author Share Posted July 7, 2010 Many Thanks Nils for your reply. The thread you sugested solved the problem with the huge file size. It was only a matter of saving it as new file without the hierarchy. This reduced the file size by 80%. Many thanks to you and to all who posted on this thread. Link to comment Share on other sites More sharing options...
marcwe Posted March 23, 2011 Share Posted March 23, 2011 it's a bit late, but having myself this kind of problem, i have a few other solution, usualy one of them should do the work, typicaly for file that take long to save and use a lot of ram/disk space, and inexplicable empty scene who weight a few hundred mega after inporting and deleting. 1/file -> new -> keep objects and hierarchy 2/ http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=10078426&linkID=9241177 3/ http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=10377296&linkID=9241177 4/ http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=15099464&linkID=9241177 good luck marc 3dimagine visualisation studio www.3dimagineitnow.com Link to comment Share on other sites More sharing options...
michaelidesm Posted March 23, 2011 Author Share Posted March 23, 2011 Excellent info. Although i usually use the file-new-keep object etc, the other options look very promising. Have you tried the other options? On what max version? When the state a certain max version do they imply that newer versions are incompatible with the script? Sorry if i am hassling you. I am only asking because it seems that you have done your "homework". Link to comment Share on other sites More sharing options...
suraj1007 Posted March 28, 2011 Share Posted March 28, 2011 Hello The info helps but the prob is again i merge something the same thing it take time to save so everytime i merge some thing have to run the script. Link to comment Share on other sites More sharing options...
pietro3d Posted February 8, 2012 Share Posted February 8, 2012 this script is the solution. run from maxscript listener. t=trackviewnodes;n=t[#Max_MotionClip_Manager];deleteTrackViewController t n.controller;gc() Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now