POV-Ray : Newsgroups : povray.general : prase error on WinXp : Re: prase error on WinXp Server Time
26 Apr 2024 13:20:44 EDT (-0400)
  Re: prase error on WinXp  
From: Cousin Ricky
Date: 4 Jan 2023 16:27:50
Message: <63b5ef56$1@news.povray.org>
On 2023-01-04 15:27 (-4), Leroy wrote:
> I ran this with POV3.7 on my Xp 32bit and it crashed half way through
> with a cannot parse Error.
> 
> #declare Thing=box{-1,1}
> #for(i,-2048,2048)
>  #for(j,-2048,2048)
>    object{Thing pigment{rgb 1} translate <i,j,0> }
>  #end
> #end
> 
> That computer has about a gig of memory.
> 
> [snip]
> 
> I ran it with POV3.7 on my windows 10 64bit and it ran fine.
> This computer has about 8 gig of memory.

You are asking for 16,785,409 objects.  Unfortunately, POV-Ray 3.7 does
not give memory statistics, so I converted your scene to POV-Ray 3.6,
and ran it on my GNU/Linux machine with 1,000,000 objects.  It used
988,560,213 bytes, almost a gigabyte.  So yeah, you would have blown the
memory on the 32-bit computer early on.  My new question is why it even
worked on your 8 gig computer... unless 3.7 stores objects more
efficiently than 3.6?

> which was the most important reason, memory size or bit count?

Memory is certainly the deciding factor in this particular case, but bit
count is an  upstream factor, as a 32-bit machine cannot address more
than 4 gig.


Post a reply to this message

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