memory allocation failure.

General questions about Indigo, the scene format, rendering etc...
gerbin
Posts: 12
Joined: Thu Nov 27, 2008 11:02 pm

memory allocation failure.

Post by gerbin » Tue Mar 31, 2009 10:19 pm

hi! i'm sorry but i haven't found a topic same as what i'm about to say.

i got this error message---> "Memory allocation failure."


does that mean i don't have enough ram? hehehe. but i did a scene before with much more meshes and materials and stuff but i didn't get such error. Whew.


thanks in advance. i'l ty to include the image tomorrow i'm very sleepy lol.

User avatar
SATtva_
1st Place Winner
Posts: 179
Joined: Sat Sep 27, 2008 6:44 am
Location: Russia, Siberia
Contact:

Post by SATtva_ » Tue Mar 31, 2009 11:54 pm

It would be helpful if you at least tell us what version of Indigo you're using.

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: memory allocation failure.

Post by fused » Wed Apr 01, 2009 12:05 am

gerbin wrote:does that mean i don't have enough ram?
exactly.

its not the number of meshes or materials that count, its the polygon count and resolution that use much RAM. try to render in a smaller resolution or to reduce some meshes polygon count.

also light layers take a lot of ram. each light layer adds a huge ammount of ram.
(heres a formula to approximate the ram needed for 1 light layer: width*height*32bit*3/8/1024/1024. that means a 1600x1200 layer needs ~22mb ram, please correct me if im wrong ^^)

User avatar
SATtva_
1st Place Winner
Posts: 179
Joined: Sat Sep 27, 2008 6:44 am
Location: Russia, Siberia
Contact:

Post by SATtva_ » Wed Apr 01, 2009 12:56 am

that means a 1600x1200 layer needs ~22mb ram, please correct me if im wrong ^^)
Supersampling exponentiates that value. With SSx2 you'll need four times the original RAM, but SSx4 already requires 16 times more than the original (352 Mb for 1600x1200). For light layers you need to multiply that value on layers count.

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Post by fused » Wed Apr 01, 2009 1:29 am

right, i forgot the supersampling:

width*ssf*height*ssf*32bit*3/8/1024/1024

gerbin
Posts: 12
Joined: Thu Nov 27, 2008 11:02 pm

Post by gerbin » Wed Apr 01, 2009 2:09 pm

thanks for the reps!

i'm using indigo 1.1.18 blendigo 1.1.14. didn't increase the supersampling value.


here are the images.

Image


Image
Last edited by gerbin on Thu Apr 02, 2009 2:02 pm, edited 1 time in total.

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Wed Apr 01, 2009 2:17 pm

How much RAM do you have?

gerbin
Posts: 12
Joined: Thu Nov 27, 2008 11:02 pm

Post by gerbin » Wed Apr 01, 2009 2:33 pm

4 GB of ram.

User avatar
Borgleader
Posts: 2149
Joined: Mon Jun 16, 2008 10:48 am

Post by Borgleader » Wed Apr 01, 2009 3:09 pm

fused wrote:right, i forgot the supersampling:

width*ssf*height*ssf*32bit*3/8/1024/1024
(width*height)*ssf*32bit*3/8/1024/1024
or
(width*height)*(ssf^2)*32bit*3/8/1024/1024
benn hired a mercenary to kill my sig...

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Wed Apr 01, 2009 5:07 pm

Gerbin: do you have a 64 bit OS? if so try indigo 64 bit.

gerbin
Posts: 12
Joined: Thu Nov 27, 2008 11:02 pm

Post by gerbin » Wed Apr 01, 2009 6:14 pm

OnoSendai: 32 bit here :cry:

i tried deleting one of the chairs in the scene and it rendered well. but then i have to add more chairs :( .

and more objects too.

User avatar
SATtva_
1st Place Winner
Posts: 179
Joined: Sat Sep 27, 2008 6:44 am
Location: Russia, Siberia
Contact:

Post by SATtva_ » Wed Apr 01, 2009 6:23 pm

Chairs in your scene are the same. I hope you made them as instances, not mesh copies?

Stromberg
Posts: 693
Joined: Mon Mar 02, 2009 5:01 am
Location: Norway
Contact:

Post by Stromberg » Wed Apr 01, 2009 6:37 pm

Just so you know, with 4 gb and 32-bit OS you want get to use all your ram you will only be able to use 3.5 gb. :roll:

User avatar
SATtva_
1st Place Winner
Posts: 179
Joined: Sat Sep 27, 2008 6:44 am
Location: Russia, Siberia
Contact:

Post by SATtva_ » Wed Apr 01, 2009 11:53 pm

with 4 gb and 32-bit OS
Namely, Windows OS. In Linux there is no such problem. ;)

gerbin
Posts: 12
Joined: Thu Nov 27, 2008 11:02 pm

Post by gerbin » Thu Apr 02, 2009 1:56 pm

thanks for the replies (i feel special hahaha).


@SATtva: that's what i did yesterday and it worked hehehe. i forgot i did shift+d in blender instead of alt+d. wahehehe.


thanks a lot guys. il try to post it here when its done so i could hear your comments. arigato minna. :wink:

Post Reply
34 posts

Who is online

Users browsing this forum: No registered users and 29 guests