Jump to content

Shadow map memory error


steve
 Share

Recommended Posts

Hello everybody, I am trying to render a city scale model with 20M faces using a raytrace shadow direct light, but the system keeps on crashing , any suggestions? Shifted to shadow map but trying to increase the map size above 2000 pixels is always halted by the not enough memory for shadows message. My system has 3GB of ram, max7 summary says it is using 1GB of ram only. What parameter can solve my problem ? thank you for your help and happy new year to all

Link to comment
Share on other sites

Thanks Quizzy for your reply, tried both options but Max is still crashing with raytrace shadows and shadow map unable to go beyond 2000 pixels. Is this happening to me only ? any other suggetions ? thanks to all

Link to comment
Share on other sites

Thanks Jonel, already checked but still no luck. I am pretty sure this memory problem is common for max users, I wish somebody who faced such problem and solve it could give us his feedback, or maybe the Discreet guys do have a solution.

Link to comment
Share on other sites

Couple things…

No application in Win2k or XP can allocate more than 2gb of addressable memory space. This is a limitation of the OS, therefore having more than 2GB of ram on your system really does you no good unless you have multiple applications open at once. There is however a /3gb switch you can enable in your boot.ini file that will expand this 2gb limit to 3gb. You can do a quick search in the Microsoft website for how to set that up. Please be cautious though and make sure you leave both boot options in your ini file, otherwise you system may never boot again if it fails.

On most occasions memory issues while rendering can be overcome by enabling the bitmap pager in max. For more information on that please see these to faq pages…

http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=5581781&linkID=5573345

http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=5581641&linkID=5573345

With the combination of these two things I have been successful in rendering the most difficult files. Other tips include rendering other image format like bmp or png. These image formats are often handled much better by the system when creating and storing this data in ram.

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...