|
![](/i/fill.gif) |
In article <slr### [at] fwi com> , Ron Parker
<ron### [at] povray org> wrote:
> Nope, a Win32 stack has a "reserve" size and a "commit" size. The loader
> allocates address space for the "reserve" size, but it only actually maps
> memory for the "commit" size. It then marks the page just below the
> commit as Not Present and waits for it to fault. When it faults, the OS
> maps another page into the address space
But it cannot shrink the stack this way. So once you have a stack that is
i.e. 100 MB you have to restart the application. I think the same problem
exists under Unix. Unless, of course, you have a system function to shrink
the stack "manually".
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |