PDA

View Full Version : MR rendering crash


jporter313
02-27-2004, 10:28 PM
Having all sorts of issues with Maya lately. The latest is that every time I try to render a scene file I'm working on with Mental Ray, Maya either:

A: disappears completely from the desktop with no warning, no explanation, and no error messages

B: brings up an error message that says: "Microsoft Visual C++ Runtime Library runtime error Program F:\...maya.exe abnormal program termination." and Maya quits

C: sits there like it's rendering indefinitely, but the program hangs, and the cpu usage is down to zero, so it's not actually doing anything.

Does anyone know what could be causing this? thanks,

Justin

anthonyevans847
02-27-2004, 11:11 PM
This happens to me sometimes. Usually it is due to some form of corruption which can easily be fixed by going to File->Optimize Scene Size. Otherwise, if there are particle objects in your scene, make sure that there arent too many particles as this can also cause the C++ runtime error.

alivegy
02-28-2004, 02:03 AM
Are you using the renderview or batch render? I never just click the render button in Maya, I've found it's always safest just to bactch render.

Maya uses up about 300 megs of memory on it's own, easily, usually more. That leaves only 900-1400 megs of ram that can be used for rendering so 32-bit applications can only use 1.6 gigs of ram till they crash, and they usually start getting unstable at 1.2 gigs.

So if you already have maya open and you click the render button it doesn't leave mental ray much too work with at all. and boom it either crashes or hangs.

I've found the best thing to do is just use the batch render command, then find your file that it is rendering (in the mentalRay, images folder) rightclick it, and open the file with "imf_disp" This way, mental ray starts it's own process that can use the full extent of it's 1.6 gigs. Also if it crashes you just kill the mayabatch process and you still have your maya app running just fine.

The imf_disp program acts as a frame buffer and you can watch as the file renders.

Hope this helps.
Ryan

CGTalk Moderation
01-17-2006, 01:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.