#134 memory error

open
nobody
None
5
2011-05-15
2011-05-15
Anonymous
No

Hi,

I am getting a memory error with a Patchmesh of 2048 x 2048.

The error is in

CObject::destroy

I am using

hider "raytrace"

If I use

Hider "stochastic" this does no happen but I get some nasty side effects in the rendered image.

I am using Centos 5.5 .

Any thoughts??

Cheers

Discussion

  • Okan Arikan
    Okan Arikan
    2011-05-17

    Can you send an example file that shows the problem?

    Thanks

     
  • Hi,

    Thanks for getting back to my question.

    When I ran it through gdb I noticed that the call stack was a very deep nested calls to CObject::~CObject() (or similar)

    After posting it occurred to me that I had not checked the ulimit values for my login shell.

    I checked and the stack limit was set to 10240 kb.

    I tried (limit -s 40960) and presto the image now renders.

    Not sure if a trial and error method is the only way for this to be determined but it may be worth a little FAQ mention as a possible option for future users.

    Thanks again and sorry for not being more thorough in my diagnosis prior to posting this bug.

    Cheers