Maya for 3D Printing - Rapid Prototyping
In this course we're going to look at something a little different, creating technically accurate 3D printed parts.
# 1 24-01-2008 , 10:57 PM
kazama's Avatar
Registered User
Join Date: May 2003
Location: ecuador
Posts: 270

heap size limit set to 800 MB

I'm having big troubles rendering some proyects.
Metal ray just stops rendering and goes flushing flushing and flushing!! Dont know what to do. It goes out of memory.
Things like :
MEM 0.2 info : allocation of 11828204 bytes failed: flushing
MEM 0.2 info : try '-memory 275' for future runs
Plz need help im having this problems for way to long now..
And right now im working in some own proyect, is like a futuristic city for a character and his motorcycle, but i cant even render the girl and the bike together.. so plz!

# 2 24-01-2008 , 11:20 PM
bendingiscool's Avatar
Subscriber
Join Date: Jul 2006
Location: London
Posts: 567
Does this happen with all the stuff you try and render? for instance have you tried just rendering say a sphere or cube to see whether its the renderer that is screwing up rather than perhaps a corrupt file or such.

Chris

# 3 24-01-2008 , 11:32 PM
kazama's Avatar
Registered User
Join Date: May 2003
Location: ecuador
Posts: 270
Well, sometimes for example, Im doing test renders of some scene or something and like the first 3 or 4 test it renders well, but then runs out of memory and I have to close the Maya, because is like it crash and I have to opened again.
It happends to me always, with diferent scenes.
At the moment, my motorcycle renders well, and also my character, but If i import one of the scenes to the other, I cant render, it goes flushing.
In the help of maya I found this:

Fine displacement critically depends on the specification of a cache size limit, because otherwise the fine tessellation results would not flow through the cache but accumulate until memory runs out. mental ray has a default cache limit of 512 MB.

A good choice is half the amount of physical RAM, or 500-800 MB on 32-bit machines, whichever is smaller. If the number is too large, the operating system may run out of virtual address space; if it is too small, mental ray will perform too many cache flush operations.

.. but It dosent say where I can increment the memory limit.

# 4 25-01-2008 , 06:34 PM
Registered User
Join Date: May 2006
Location: Hastings UK
Posts: 895
Are you using the batch render.

# 5 25-01-2008 , 06:58 PM
kazama's Avatar
Registered User
Join Date: May 2003
Location: ecuador
Posts: 270
When this issues start to happend, not even the batch render works.. Normaly i use the preview? that white control.. because im just changing textures or something.. and need to check how is looking and stuff like that. But I have try the batch when this starts to happend, and its the same. I even put preview mode on the render globals, or change the resolution to something really small, like 190 or something, and its the same.

# 6 25-01-2008 , 07:43 PM
bendingiscool's Avatar
Subscriber
Join Date: Jul 2006
Location: London
Posts: 567
Can't really think of a way of fixing this off the top of my head, if it keeps persisting you could always try un-installing and reinstalling Maya.

Chris

# 7 25-01-2008 , 07:46 PM
kazama's Avatar
Registered User
Join Date: May 2003
Location: ecuador
Posts: 270
ok, but if you find something, plz let me know, because this happends at home, and in the machine at work.

# 8 25-01-2008 , 07:49 PM
Registered User
Join Date: May 2006
Location: Hastings UK
Posts: 895
Couple of things that may help.

Have you tried using the clean up scene at all since this may help.

How many texture files are you using and what size are they. Anything over 2k can cause probs.

# 9 25-01-2008 , 07:56 PM
kazama's Avatar
Registered User
Join Date: May 2003
Location: ecuador
Posts: 270
No i have not, but I have hear of that option and I know where it is, but one question:
If i use that option and i lose something important, if I dont save the scene, I dont lose anything right?
Is because I dont know if that option delete files from the database or someting like that.

# 10 25-01-2008 , 08:07 PM
Registered User
Join Date: May 2006
Location: Hastings UK
Posts: 895
As long as you save it as a different file your original should be fine. You could save the original to a disk if you want to be certain though.

# 11 25-01-2008 , 08:09 PM
kazama's Avatar
Registered User
Join Date: May 2003
Location: ecuador
Posts: 270
Ok thanks

# 12 30-11-2009 , 07:14 AM
Registered User
Join Date: Nov 2009
Posts: 3
Good job

# 13 02-12-2009 , 03:21 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
There are a lot of unanswered questions. Such as how much memory do you have on your machine, how many processors, what version of Maya, is your OS 64 bit? If you give us this information, it will be easier for us to determine the culprit.

Also, what size is your paging file?


Imagination is more important than knowledge.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads