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
25 Jun 2024 02:25:26 EDT (-0400)
  Re: "Bad allocation" in POV-Ray RC3 for WIndows  
From: Tor Olav Kristensen
Date: 12 Apr 2011 14:10:01
Message: <web.4da494c1ed9ecc047ba06bb0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Jim Holsenback <jho### [at] povrayorg> wrote:
> > 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?
>
>   I don't think that's the point. The above code doesn't look like it should
> give any kind of error. Instead, it should just run indefinitely.

Yes, that was my intention.

I have been running the same code (without the version directive) on POV-Ray
version 3.6.2.msvc9-sse2 for over 7 hours on another Windows XP SP3 PC.

67.801.367.203 tokens have been parsed so far without any problems.

--
Tor Olav
http://subcube.com


Post a reply to this message

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