PDA

View Full Version : Maya 2012 Linux Memory Issues


dustykhan
28-06-2012, 12:48 PM
:help: I hilighted this problem my current WIP thread Here! (http://simplymaya.com/forum/showthread.php?t=37809&page=5) and scene file is available for download excluding textures if anybody would like to test it - http://minus.com/lnyHO9XdS9k84

Ok, I use Arch linux as my main system with openbox and have Windows in a partition on the same drive so I can also use it if required, both with maya 2012 installed. The problem I seem to be having is that when rendering out in mentalray in linux it likes to use up all my memory and then doesn't dump at the end of the render, so after about 3 renders I am using up all my memory but initially renders very fast!

Arch linux it renders in about 4 min uses all avalible memory during render no matter what settings i state in the memory limits under mentalray globals, and after render it is still using 4.63GB.

In Windows 7 it renders in about 20 min uses around 5.2GB during render and thats with 4GB set in memory limits under mentalray globals, and after render it drops back down to 642MB.
(see screen shot)

So does anybody know why this differs so greatly and a way I can fix my linux install as I dont want to have to copy my scenes and textures ect... to windows every time I want to render out a scene as all the file paths change and is a massive pain in the arse. I Have done lots of searching and cant seem to find anything online about this and altering the BSP settings doesn't seem sort out the memory issue in linux!

http://simplymaya.com/forum/attachment.php?attachmentid=51790&stc=1&d=1340749233

NextDesign
28-06-2012, 03:59 PM
I'm not sure what the difference would be; I do know however that different implementations of Linux can handle memory differently. Maya 2012 is certified to run on Fedora 14 x64 and RedHat 5.5 x64. You might want to give that a try.

dustykhan
29-06-2012, 07:46 AM
But say I install Fedora in virtual box, I wont have a licence for maya to test it, or can you easily swap licenses around..?

David
29-06-2012, 01:19 PM
Linux wont release memory at the end of a render or for anything else. It's not a bug it's the way memory management works under Linux.

Windows releases memory as soon as it's finished with it (in theory) Linux will hold everything in memory in case it's needed again it will release it as and when it's needed by another application. If you want to flush your memory try this

sync; echo 3 > /proc/sys/vm/drop_caches

Really though your memory under Linux should be full. Unlike under windows.

Regards
Dave :)

NextDesign
29-06-2012, 06:41 PM
Don't use an emulator or virtual machine for rendering! This is a major no-no!