POV-Ray : Newsgroups : povray.beta-test : Out of Memory Error while using Bounding Method 2 : Re: Out of Memory Error while using Bounding Method 2 Server Time
28 Jul 2024 20:25:13 EDT (-0400)
  Re: Out of Memory Error while using Bounding Method 2  
From: Chris Cason
Date: 14 Jan 2007 01:55:57
Message: <45a9d3fd$1@news.povray.org>
Schwan379 wrote:
> I don't think the this is a real Out of Memory Error, because POV 3.7 Beta
> 18 uses round about 820MB Memory, and there are 670 MB left (real RAM, no
> Virtual Memory).

I've tested this with your scene and in fact it is a genuine memory error;
due to the way the STL (a library we use) works, it attempts to allocate a
very large array to move an existing array that it needs to expand, and this
is what is failing (the request is for hundreds of megabytes).

You will need to experiment with different BSP settings to get this to work -
at the time of the alloc failure, here at least, the BSP depth was 33. I
tried 25 and had a successful render, though it was slower than non-BSP
bounding due to the large average number of objects at each leaf node.

I suggest not only changing the max depth, but also experimenting with some
other BSP constants to see if you can get a better tree layout (see the
release notes for settings information).

-- Chris


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.