Jump to content

Not Enough Memory


ZFact
 Share

Recommended Posts

Hi;

I keeping getting a "not enough memory message" when trying to render

out a complex scene using FR2... So I moved to a collegues computer

who has got more RAM than me... still same message... so i tried

VRAY FOR C4D and it also crashed out... it gave me some bug report message... im totally stuck up s..t creak without a paddle... does anyone

know why im getting this problem and how i can go about resolving it.

 

My machine has 1gig ram... my collegues has 2gig which should be enough

as thats all that 32bit XP will allocate anyway... so Im told!!

 

Thanks

Link to comment
Share on other sites

This is the common XP 3GB switch which let application use more of your available RAM. In your c:\ (that is bootdrive, root directory) there is a hidden file called "boot.ini". You can open the file with notepad or another text editor.

 

This is mine:

 

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /3GB

 

As you can see I have added the "/3GB" after the default settings found in the file. You can also add it and see if that fix your out of memory error. Just remember to create a backup before editing the file :) And if you dont know how to acess hidden system file I will suggest you get a competent friend to help you out with the editing (not to be cruel or anything, just a piece of good advice).

 

But what kind of scene are the cause of your problems? Do you have a lot of different objects in it? Many polys? Have you tried to attach multiple objects to fewer pieces? I.e 10k of tree objects can be 1 forest. This might help speed things up and lighten your scenery both while working with it, and while rendering.

 

PS! I dont know c4d, so the above is just a general tip.

 

-K-

Link to comment
Share on other sites

This is the common XP 3GB switch which let application use more of your available RAM. In your c:\ (that is bootdrive, root directory) there is a hidden file called "boot.ini". You can open the file with notepad or another text editor.

 

This is mine:

 

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /3GB

 

As you can see I have added the "/3GB" after the default settings found in the file. You can also add it and see if that fix your out of memory error. Just remember to create a backup before editing the file :) And if you dont know how to acess hidden system file I will suggest you get a competent friend to help you out with the editing (not to be cruel or anything, just a piece of good advice).

 

But what kind of scene are the cause of your problems? Do you have a lot of different objects in it? Many polys? Have you tried to attach multiple objects to fewer pieces? I.e 10k of tree objects can be 1 forest. This might help speed things up and lighten your scenery both while working with it, and while rendering.

 

PS! I dont know c4d, so the above is just a general tip.

 

-K-

 

Would I be right in saying that if I have only 2gig of ram... there would be

no point doing this? as it cant over allocate ram that is not available in the first place!!

Link to comment
Share on other sites

the 3 gig switch doesn't do much for my pc.

 

Paul, can you post up a screenie or some specs of your scene? i often get error messages in cinema due to things being too big. it's then time for model optomisation. usually the biggest culprit is textures in your materials. if you have any super large (pixel sized or file sized) textures in your materials i'd advise re-save them much smaller.

Link to comment
Share on other sites

the 3 gig switch doesn't do much for my pc.

 

Paul, can you post up a screenie or some specs of your scene? i often get error messages in cinema due to things being too big. it's then time for model optomisation. usually the biggest culprit is textures in your materials. if you have any super large (pixel sized or file sized) textures in your materials i'd advise re-save them much smaller.

 

Morning Stephen;

How do i check poly counts, object counts etc in C4d?

 

Cheers

Paul

Link to comment
Share on other sites

you select an object in the object manager, right click on it and the object/scene info option is at the bottom of the list.

 

but as i say, polycounts isn't usually the culprit, it's more than likely materials, proceedurals, gi settings etc etc

Link to comment
Share on other sites

you select an object in the object manager, right click on it and the object/scene info option is at the bottom of the list.

 

but as i say, polycounts isn't usually the culprit, it's more than likely materials, proceedurals, gi settings etc etc

 

ok.. i'll try and narrow it down...

 

the scene has

polygons - 843700 (5721446)

Objects - 4406 (9092)

 

What is the info inside the brackets telling us?

 

Cheers

Link to comment
Share on other sites

you have polygon objects and editable objects (non exploded objects) in your scene. the brackets numbers are the totals if all was to be exploded.

 

its not an overly complex scene but is it?

 

It is an internal scene ( Restaurant) All the tables are indentical.. would

it help much if they were instances rather than copies... or is there any

other way to lower their memory footprint?

 

Im also not sure how to instance something in c4d, can you let me know.

 

Cheers

Paul

Link to comment
Share on other sites

Hi Paul.

 

sounds like I've just done something extremely similar in the last month or so! I've done, as part of a much larger project, a restaurant area, which included hundreds of identical tables and chairs.

 

a quick render from the anim -

 

cga3.jpg

 

 

as you can see, hundreds. and because of this, i had to set up my lighting rig with absolutely no gi. all faked. but each table set is an instance. i couldn't have done it without them.

 

i drew one table and chairs and the bumf on the table. then put the whole lot into an null. you then just instance that null. simple like innit.

 

:)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...