POV-Ray : Newsgroups : povray.beta-test : "Bad allocation" in POV-Ray RC3 for WIndows : Re: "Bad allocation" in POV-Ray RC3 for WIndows Server Time
1 Jun 2024 22:33:45 EDT (-0400)
  Re: "Bad allocation" in POV-Ray RC3 for WIndows  
From: Jim Holsenback
Date: 12 Apr 2011 06:23:59
Message: <4da4283f$1@news.povray.org>
On 04/11/2011 09:41 PM, Tor Olav Kristensen wrote:
>
> I get this error message:
> "Parse Error: bad allocation  Render failed"
> - after the code below has been running for about 3 seconds.
>
> // ===== 1 ======= 2 ======= 3 ======= 4 ======= 5 ======= 6 ======= 7
>
> #version 3.7;
>
> #while (true)
>    #local Fn = function { transform { translate<0, 0, 0>  } }
>    #undef Fn
> #end // while

where does the conditional get set to false ... don't see that here (or 
any other bail-out mechanism) ... runaway loop?

>
> // ===== 1 ======= 2 ======= 3 ======= 4 ======= 5 ======= 6 ======= 7
>
> I'm using POV-Ray for Windows - Version 3.7.0.RC3.msvc9-sse2.win32
> The operating system is Windows XP.
>
> With the code above, the error messages has so far appeared every time
> right after 3318K tokens have been parsed. But with other versions of
> my code, the error message does not always show up. (Sometimes the
> render finishes and sometimes the parsing stops at different "times".)
>
> See below for the contents of the output pane.
>
> Can anyone else see this problem ?
>
>
> Tor Olav
> http://subcube.com
>
> ----------------------------------------------------------------------------
> Preset INI file is 'C:\Documents and Settings\tok\Mine
> dokumenter\POV-Ray\v3.7\ini\quickres.ini', section is '[800x600, No AA]'.
> Preset source file is 'E:\POV-Ray filer\BadAllocationBug_08.pov'.
> Rendering with 2 threads.
> Parser Options
>    Input file: E:\POV-Ray filer\BadAllocationBug_08.pov
>    Remove bounds........On
>    Split unions.........Off
>    Library paths:
>      C:\Documents and Settings\tok\Mine dokumenter\POV-Ray\v3.7\include
>      C:\WINDOWS\Fonts
>    Clock value:    0.000  (Animation off)
> Image Output Options
>    Image resolution.....800 by 600 (rows 1 to 600, columns 1 to 800).
>    Output file..........E:\POV-Ray filer\BadAllocationBug_08.png, 24 bpp PNG
>    Dithering............Off
>    Graphic display......On  (gamma: sRGB)
>    Mosaic preview.......Off
>    Continued trace......Off
> Information Output Options
>    All Streams to console..........On
>    Debug Stream to console.........On
>    Fatal Stream to console.........On
>    Render Stream to console........On
>    Statistics Stream to console....On
>    Warning Stream to console.......On
>
> -
> "E:\POV-Ray filer\BadAllocationBug_08.pov" line 6: Parse Error: bad allocation
> Render failed
> -
> CPU time used: kernel 0.41 seconds, user 2.75 seconds, total 3.16 seconds.
> Elapsed time 3.38 seconds.
> ----------------------------------------------------------------------------
>
>
>
>


Post a reply to this message

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