View Full Version : mental ray, out of memory
my7hai 01-16-2008, 01:00 PM heya,
I modeled a car, and made a studio setup with 5 area lights and low intensity..
Raytracing: 5,5,10,2
FG: 500 Rays (min and max 0,0; im unfortunately pretty insecure which values to use)
I just cant understand why mental ray always stops rendering during the calculation of final gather..
About 50-60% is rendered out fine, then it just stops.
The Output window says: Not enough memory!
here are my computer stats:
AMD64, 2800+
2GB Ram
Geforce 9800
i would really appreciate it if you could just gimmi a hint were to start from :/
i am currently at work so i cant post any pics, but ill post em asap.
thx a lot!
|
|
noizFACTORY
01-16-2008, 01:43 PM
Hey 7hai,
Go to your outliner and first turn off the display option "DAG Objects Only". You should now be able to see all the nodes in your scene file in the outlines. Look for one called mentalrayGlobals. After selecting that, open up the attribute editor and open up the tab Memory and Performance. You should now be able to set your Physical Memory limit to a higher value. Considering you have 2 gigs of RAM, this is one reason i can think of right now why your scene runs out of memory at render time. Right now i'm on a 256 MB machine and yeah, it sucks when it comes to huge renders. So most of the time i resort to command line render to use every bit that i've got.
Try this out first and lemme know how it goes. Also, post your initial memory limit too. There's also some BSP settings shebangs but i'm not too familiar with that yet.
Also, you might want to go easy on the final gather settings first. Start low. With like 100 rays or something. And see if you can at least render with one light with final gather.
ghostlake114
01-16-2008, 02:30 PM
Which Maya version u are using
Maya 8.5 and especially 2008 with MR 3.6 rarely cause memory problem.
my7hai
01-17-2008, 12:17 PM
@noizFACTORYi did what you said and it actually does work fine now ;)
(i also read some tutorials about the min and maxvalue of FG.. u were right, i also set the rays to 100- it does have some artifacts tho..)
now the car renders in 6mins instead of 20 oO !!
@ghostlake114
i am using maya 8.0 :)
thanx a lot guys!
giobon
01-24-2008, 05:08 PM
I ve been having these problems from the first tme i used mr and still havent solved them. but heres a couple of tips on how to improve it.
1. in the Rendering menu set go to Render and pick the first from the list, i guess Render current frame, click the option box near it, here youll find the memory limit, uncheck the auto limit box and click calculate, see the result, on a 2gig machine it should return around 1 gig, you can set that even lower, itll take more time but gain stability.
2.in the mentalrayglobals go to memory and performance and find the bsp settings, switch to large bsp and maybe turn depth from 40 to 30
3.before rendering in the Rendering menu set go to Render, go to Diagnose render settings (or sth like this) and fix the issues, maybe youll be prompted to change large textures format to .map or change size of textures and so.
4. before rendering go to file, optimize render, but take care that its an undoable action and it clears all unused nodes, shaders and other stuff. if for example you have an unused (currently unassigned) material in the hypershade, but it is sth you want to keep, it will be deleted.
5. search the net, youll find more
regards
CGTalk Moderation
01-24-2008, 05:08 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.