POV-Ray : Newsgroups : povray.beta-test : attractor.pov : Re: attractor.pov Server Time
20 Apr 2024 00:32:42 EDT (-0400)
  Re: attractor.pov  
From: ThH
Date: 19 Feb 2017 10:40:22
Message: <58a9bc66$1@news.povray.org>
Am 19.02.2017 um 15:49 schrieb William F Pokorny:

> This very likely means our new thread stack size is still not large
> enough for those two cases.
>
> As a linux user would you please give the new POV_THREAD_STACK_SIZE
> macro a try?
>
> In the following file:
>
> ./unix/povconfig/syspovconfigbackend.h
>
> change the line:
>
> #define POV_THREAD_STACK_SIZE (1024 * 1024 * 4)
>
> to
>
> #define POV_THREAD_STACK_SIZE (1024 * 1024 * 8)
>
> and then recompile.

Done.

This problem is solved. Thank you Bill :)

> Normally other ways to do this define/override, but suppose the above
> change is our likely fix for unix - if it works for you.

It does.

> The 8MB is the size I see as the current default stack size on both my
> 32 and 64 bit Ubuntu 16.04 machines. POV-Ray previously picked the
> parent process default on linux and therefore likely 8MB before the code
> went to a fixed size early last year of 2MB for all OSs.
>
> Yep, I wonder why linux seems to need more stack memory than
> windows(2MB). Is the overall memory model different, more efficient or...
>
> Lastly, Are you running on a 64bit machine?

Yes. AMD Quadcore 64bit with 4GB Ram :)

> We suspect larger stacks might be needed for the 64 bit pointers in the
> stack frames.
>
> Thanks,
> Bill P.


-- 
Thorsten aka ThH


Post a reply to this message

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