POV-Ray : Newsgroups : povray.general : The old max_trace_level is back! : Re: The old max_trace_level is back! Server Time
10 Aug 2024 21:03:01 EDT (-0400)
  Re: The old max_trace_level is back!  
From: Nieminen Juha
Date: 3 Nov 1999 12:01:38
Message: <38206a72@news.povray.org>
Luciano Pennini <lpe### [at] writemecom> wrote:
: BTW do you know if the linux version has the same problem?

  Probably not, since (AFAIK) there's no stack size limit for programs in
unix (ok, there is, but it's huge).

: And if this is true.  Any clue 'bout wich code is easier to modify (unix, dos
: or windows)??

  The problem is not in povray itself but in the code generated by the
compiler. When compiling you should tell the compiler to link a bigger stack
to the program. For example watcom links a ridiculously small stack (about 8k)
to its programs by default.
  If I'm not completely wrong, this is not a problem in unix since the
stack size usable by programs is determined by the system, not by the
program itself. For example in this SparcStation which has Solaris as OS
the stack size is limited to 2 Gigabytes.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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