POV-Ray : Newsgroups : povray.newusers : Memory parse error : Re: Memory parse error Server Time
29 Jul 2024 04:16:37 EDT (-0400)
  Re: Memory parse error  
From: Warp
Date: 14 Aug 2006 09:42:24
Message: <44e07dc0@news.povray.org>
Mike8 <nomail@nomail> wrote:
> I wish to correct an
> inaccurate statement that I made earlier: the file I'm having trouble with
> isn't 10,000 lines of code, it's 235,225 lines. That might make a slight
> difference.

  Note that the size of the .pov (or .inc) file isn't necessarily related
to how much memory POV-Ray will need to render the scene. It isn't even
related to how much memory POV-Ray will need to parse the file.

  The only case where a big file will consume memory is if you open it
in the winpov editor (in which case the editor will consume the memory.
naturally). If you don't open it in the winpov editor then the file by
itself doesn't consume memory.

  If the file has been automatically generated by some program then it
probably contains almost as many primitives as lines of code (or at least
a number of primitives directly proportional to the lines of code), in
which case the file size is somewhat indicative of how much memory
POV-Ray will need to render the scene.

  But take into account that file size is not *always* such an indicator.
It's perfectly possible to make a 500 bytes .pov file which will require
gigabytes of memory to render, as well as a 500MB .pov file which requires
just some kilobytes of memory to render.

-- 
                                                          - Warp


Post a reply to this message

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