Introduction to Maya - Modeling Fundamentals Vol 1
This course will look at the fundamentals of modeling in Maya with an emphasis on creating good topology. We'll look at what makes a good model in Maya and why objects are modeled in the way they are.
# 1 26-05-2009 , 08:37 AM
elephantinc's Avatar
Level 32 pachyderm
Join Date: Dec 2007
Location: England
Posts: 1,859

running out of memory when rendering

my scene is getting bog now and when ever I render with AO it runs out of memory well before its finished
Its says memory limit is 128mb, is there any way to increase it?
EDIT: checked script editor and every time I render I get a message like this (number not the same every time)
// Warning: (Mayatomr.Script): Computed memory limit of 51 MB is below threshold, setting to 128 MB instead //
any idea what the problem is?

# 2 26-05-2009 , 06:45 PM
iamcreasy's Avatar
Registered User
Join Date: Jun 2008
Location: Dhaka, Bangladesh
Posts: 168

Its says memory limit is 128mb, is there any way to increase it?

can u be more specific abt wht memory ur talking abt!

# 3 26-05-2009 , 06:54 PM
elephantinc's Avatar
Level 32 pachyderm
Join Date: Dec 2007
Location: England
Posts: 1,859
presumable ram, not sure, i just get this message when trying to render
// Warning: (Mayatomr.Script): Computed memory limit of 51* MB is below threshold, setting to 128 MB instead //

*not the same number every time

# 4 26-05-2009 , 07:33 PM
iamcreasy's Avatar
Registered User
Join Date: Jun 2008
Location: Dhaka, Bangladesh
Posts: 168
wht is ur pc configuration?

# 5 26-05-2009 , 07:57 PM
elephantinc's Avatar
Level 32 pachyderm
Join Date: Dec 2007
Location: England
Posts: 1,859
Machine Name: iBook G4
Machine Model: PowerBook6,7
CPU Type: PowerPC G4 (1.2)
Number Of CPUs: 1
CPU Speed: 1.42 GHz
L2 Cache (per CPU): 512 KB
Memory: 512 MB
Bus Speed: 142 MHz
Boot ROM Version: 4.9.3f0
Serial Number: ***********
Sudden Motion Sensor:
State: Enabled
Version: 1.0
OS: 10.4.11

# 6 26-05-2009 , 08:00 PM
iamcreasy's Avatar
Registered User
Join Date: Jun 2008
Location: Dhaka, Bangladesh
Posts: 168
My pc configuration is Core 2 duo, 2GB of DDR2 ram and INTEL GMA built in graphics card..user added image

u can send me the scene..then i can confirm it, if the issue is really for physical ram!...or if it for some other issue!


Last edited by iamcreasy; 26-05-2009 at 08:04 PM.
# 7 26-05-2009 , 08:22 PM
elephantinc's Avatar
Level 32 pachyderm
Join Date: Dec 2007
Location: England
Posts: 1,859
Its quite a big scene and I dont want to delete history so I cant really upload it
judging by the message im getting I think my settings are messed up, I just dont think the scene is heavy enough....

EDIT: I removed the planes and now its rendering fine, I think the planes are pushing it over the limit however I think the limit is far lower than it should be. In other words, something is wrong and I dont know what user added image

# 8 26-05-2009 , 08:26 PM
iamcreasy's Avatar
Registered User
Join Date: Jun 2008
Location: Dhaka, Bangladesh
Posts: 168
good to hear that ur out of trouble.

let us know if u find anything informative. user added image

# 9 26-05-2009 , 08:38 PM
elephantinc's Avatar
Level 32 pachyderm
Join Date: Dec 2007
Location: England
Posts: 1,859
I added the planes again
this time I got the same message but with computed memory limit of -18mb....
what does it mean?
and the render cut out after about 3 mins

# 10 26-05-2009 , 08:41 PM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381
change the max distance of the occlusion node to something like 3 and render again.... if it still doesn't work then its your computer, i guess.

# 11 26-05-2009 , 08:48 PM
elephantinc's Avatar
Level 32 pachyderm
Join Date: Dec 2007
Location: England
Posts: 1,859
Ill give it a shot
I googled the specific error message (should have thought of that in the first place) and found that it IS a memory issue (although no one seems to no about it, but others have come to the conclusion that it is a memory problem), any way to solve this?


Last edited by elephantinc; 26-05-2009 at 08:50 PM.
# 12 26-05-2009 , 09:15 PM
Jay's Avatar
Lead Modeler - Framestore
Join Date: Feb 2003
Location: UK
Posts: 6,287
Go to the rendering menu set then from the drop down pick render current frame menu, uncheck auto limit box then hit calculate, mental ray will then figure the setting and then you can hit the render button, should work okay, this is a better way to render with MR as it wont be using the default setting from within the software it will use at an optimum

But if its that bad split the scene up then comp it after.....film companies do....

Jay

# 13 26-05-2009 , 09:28 PM
Registered User
Join Date: Mar 2007
Posts: 1,055
Hi,

when I 've had a problem in the past with memory maxing/rendering, I've had some success by increasing the BSP size, and you can also decrease the depth value (as suggested earlier). These are both found under the Acceleration tab in mental ray.

This will slow down the render but it might get your render out - I had a scene on a previous computer that I could only render using this method.

Try it and you might be surprised.

cheers

gubar

# 14 26-05-2009 , 09:41 PM
lillsnopp's Avatar
Registered User
Join Date: May 2009
Posts: 25

Originally posted by elephantinc
Machine Name: iBook G4
Machine Model: PowerBook6,7
CPU Type: PowerPC G4 (1.2)
Number Of CPUs: 1
CPU Speed: 1.42 GHz
L2 Cache (per CPU): 512 KB
Memory: 512 MB
Bus Speed: 142 MHz
Boot ROM Version: 4.9.3f0
Serial Number: ***********
Sudden Motion Sensor:
State: Enabled
Version: 1.0
OS: 10.4.11

I could only imagine that the pagefile is running out but you would have known that so I ant speculate.

I am using a A100 600mhz with 1024mb Ram, and I have never run into this kind of problem so I doubt its your system specs, just some configuration, try the stuff most people here recommend, something might work.

As a side not, just curious, does your CPU have any L1 Cache? I dont know what the PPC runs on.


P.S: I am surprised at the small amount of RAM you got in it. PPC ship with that (small) amount or its your own build?


Last edited by lillsnopp; 26-05-2009 at 09:46 PM.
# 15 26-05-2009 , 10:20 PM
Chirone's Avatar
Subscriber
Join Date: Dec 2007
Location: NZ
Posts: 3,125
considering how old the macbook is it's normal for it to have 512 ram

back in the day when everyone was still telling me mac is king of the world they would say that they don't need as much ram as windows because they use it more efficiently...

tell that to this G5 with 1gb of ram which sounds like it's going to blast off into space at any point

it might not hurt to also acquire some more ram for your macbook too. i assume you can stick any normal ram into a mac... unless there is special mac-ram that you can only use and pay a giantly over priced amount for it




that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D
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