PDA

View Full Version : Mental Ray: THE fatal ERROR



aerotrain99
2008-08-29, 04:59 PM
A common problem for many people rendering large scenes I'm sure: The mental ray fatal error/ can't allocate xxxxxx bytes/ not enough memory storage dilemma....(Max Design 2009)

This error hit me recently with a large scene I'm trying to render. I know its a memory issue, but I can't solve the problem...I'm running a Xeon quad core 4gb ram xp professional 32-bit. Solutions I've tried (but have not worked) include the following:

Render Panel: Reduced output size to smallest, Final gather on, No bounces, Draft quality

Render Setup, Processing: Change default memory use from 650mb to at least 3046mb

Computer Control Panel:
-system properties, performance panel: Adjust for best performance and best memory use for software
-virtual memory: increase initial size from 2046mb to 3046mb

But I still get the error. Any other ideas? Anyone have this problem and solve it?

ramyhanna
2008-09-01, 03:24 PM
There is a Service Pack for 3ds max 2009 Design. Look into downloading it and installing the .exe. This may fix your problem.

iadproductions
2008-09-02, 06:36 PM
AeroTrain,

Try turning off the scanline option in the rendering options and see if that helps.


Jeff

Steve_Bennett
2008-09-04, 11:42 PM
Default Memory - you should try going smaller, not larger. I know this is counter-intuitive but this is what I was told by a contact of mine.

Also, try enabling scanline & selecting "Use Fast Rasterizer". Also under Ray tracing acceleration try using BSP2 Method.

Also, in Preference Settings> Rendering, turn on Bitmap pager.

Also, try to stay with small images used for simulating materials if at all possible.

VM should be triple your installed hard RAM, provided you have the disk space.

Brian Bradley
2008-09-22, 07:26 PM
Default Memory - you should try going smaller, not larger. I know this is counter-intuitive but this is what I was told by a contact of mine.


Hi,

It is un-helpfully counter intuitive! Just need to keep in mind
that this is the memory limit at which MR will start trying to
flush things out. Setting it high will make MR wait longer to
flush, which is generally bad. :-(

Regards
Bri

dellis
2008-09-22, 07:58 PM
I would do some investigation on your scene. Most often its something that we are doing then what are systems are not doing. There are lots of things that will make a rendering engine freakout. First try merging all the geometry into a fresh new scene. Maybe do a material override and see if everything renders okay then. 3d faces that inhabit the same 3d space can cause problems. Image sampling can also cause crashes. I've fixed a few small problems on files that would teleport me to the desktop everytime....and most are simple issues...my issues. I haven't had a file yet that simply wouldn't render....well not with vray anywaqy....but very rare with MR as well.

andreas.231204
2009-10-19, 03:15 PM
you can try the "3GB switch" (google it), it can help x32 systems, it helped alot in AutoCAD.

Im currently trying Win 7 x64 and it was no problem rendering at higher resolution, where Vista x32 got fatal error, Win 7 x64 pulled it off.

If you can, get a x64 version of whatever platform you are on or the FREE Win 7 RC1, dual boot it and try if it helps. You can run the beta/RC until march.

ellinopsychos
2010-09-19, 01:17 AM
This is a problem caused by FINAL GATHER on the indirect illumination settings of Mental Ray.

It is caused by having a very large sized gather map file. The solution is to delete the gather map file and let the rendered write a new one. You will notice that the amount of byte on the error message correspond to the size of the gather map. I think that if you check the read/write option, then every time you render the same scene the file keeps getting larger.