What happened to the Mental Ray?
It keeps saying it's running out of memory in certain views of a scene.
This is what I get: mental ray for Maya 2012 mental ray: version 3.9.1.36, Feb 2 2011, revision 138829 initMPS with licenseOption 0 mental ray: got 8 satellite CPUs. MSG 0.3 error 011105: cannot start thread 6: Not enough storage is available to process this command. MSG 0.3 error 011105: cannot start thread 7: Not enough storage is available to process this command. mental ray: out of memory mental ray: out of memory mental ray: out of memory mental ray: out of memory mental ray: out of memory mental ray: out of memory mental ray: out of memory mental ray: out of memory mental ray: out of memory mental ray: out of memory mental ray: out of memory MEM 0.4 fatal 031008: can't allocate 5242880 bytes. MEM 0.4 fatal 031008: can't allocate 5242880 bytes. Is there any way to fix this? |
5242880 bytes = ~5 megabytes
Take a look at your task manager when running the render. Is all of your memory being eaten up? If yes, then you'll need to change some things in your scene. Either that, or buy more memory. |
4 Attachment(s)
Quote:
Export objects on demand and allocate on Heap. With those two the render seems to be running faster (even though it says it will be slower). I couldn't check when the crashes happened, but with these settings it doesn't exceed 2.18 gb (out of 4) 3rd picture shows what might be the problem: My scene has these planets far away from the grid and 2 of the objects Sun and Jupiter are slowing down the movement in viewport when both are in the same view (picture 4). So far it doesn't crash anymore. But I'm still worried about the viewport slight lag. |
1 Attachment(s)
Further tests show that the crashes happen only if I try to render from a view where the transparent ring overlaps the Sun. I can't figure out why though. It's the only angle that crashes the scene even with the "Allocate on Heap".
Also, the RAM isn't even used up halfway when the crash happens. I can make it crash only from that angle and this is what happens when I render halfway. I'll try to export stuff separately, maybe the importing had something to do with the problems. Or the textures. The entire file has reached 30 mb. |
Still can't figure out what exactly the problem is.
Tried reducing texture size, still crashes when I render from that angle. Made a new camera... still crashes when viewing that angle. What I'm suspecting now is the transparent glowing Torus around the planet, but deleting it doesn't really stop the lag in the viewport. Seems reducing the polygon numbers on the spheres fixes it (I hope it stays this way). I've smoothed all of the spheres to appear rounder, maybe that's what caused the problems. Yeah, it fixed it. The Reduce poly tool is very useful for this problem. Seems I have to either: a) Keep the scene limited to a certain amount of polys or b) Make sure that the camera only has to render a certain amount of polys, thus some views will not be rendered if too many polys are in the same image. |
That doesn't seem right. Take a look at this:
Troubleshooting mental ray Rendering on Maya - YouTube If you have the time, watch the full thing. If you just want to see what I'm specifically pointing to, go to 22 minutes and 58 seconds. Follow those diagnostics, and see if it still crashes. |
Quote:
Now I'm trying to animate it but found out that MR doesn't have the convenient .avi option -_- Now I either have to import 1 image at a time to make a movie in Corel Photo-paint (because bulk import reverses the image order, don't know why) or find some other program that acts like Corel and does bulk import in the correct order + has frame control and export to .avi. |
2 Attachment(s)
Here's what it looks like.
Zoomed in on 2nd pic. |
Quote:
Render diagnostics: Quote:
|
Quote:
|
Quote:
Then I forgot the Allocate on Heap option on, and the batch renderer began to silently crash. Good thing I'm out of the woods now. |
All times are GMT. The time now is 10:56 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018