[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] OpenEXR from shared libs.
From: |
darby johnston |
Subject: |
Re: [Openexr-devel] OpenEXR from shared libs. |
Date: |
Mon, 5 Mar 2007 14:00:45 -0800 (PST) |
--- Paul Schneider <address@hidden> wrote:
> I was surprised to find that on OS X 10.4, I
> was able to
> write a simple test program that pushed an array
> onto the stack that
> was the same size as those used by IlmImf. But, the
> confidence tests
> still crashed if I disabled the AutoArray for OS X.
You can also use getrlimit to query the stack size.
> I didn't look into it more closely, but maybe the
> problem was that
> the IlmImf code was running on threads with much
> smaller stacks than
> my single-threaded test app.
For 10.4 the process stack size is 8MB, but the
pthread size only 512KB, so that makes sense.
> It came in handy when OpenEXR was ported
> to Windows, which
> also seems to have small fixed-size stacks.
The default is 1MB in windows for programs and
threads; you can change this either at link time or
per thread.
Darby
- Re: [Openexr-devel] OpenEXR from shared libs., (continued)
- Re: [Openexr-devel] OpenEXR from shared libs., darby johnston, 2007/03/05
- Re: [Openexr-devel] OpenEXR from shared libs., Florian Kainz, 2007/03/05
- Re: [Openexr-devel] OpenEXR from shared libs., Drew Hess, 2007/03/05
- Re: [Openexr-devel] OpenEXR from shared libs., Nikolaj Thygesen, 2007/03/05
- Re: [Openexr-devel] OpenEXR from shared libs., Paul Schneider, 2007/03/05
- Re: [Openexr-devel] OpenEXR from shared libs., Drew Hess, 2007/03/05
- Re: [Openexr-devel] OpenEXR from shared libs., darby johnston, 2007/03/05
- Re: [Openexr-devel] OpenEXR from shared libs., Drew Hess, 2007/03/05
- Re: [Openexr-devel] OpenEXR from shared libs., darby johnston, 2007/03/06
- Re: [Openexr-devel] OpenEXR from shared libs., Bob Friesenhahn, 2007/03/06
- Re: [Openexr-devel] OpenEXR from shared libs.,
darby johnston <=
- Re: [Openexr-devel] OpenEXR from shared libs., darby johnston, 2007/03/05
- Re: [Openexr-devel] OpenEXR from shared libs., Jim Hourihan, 2007/03/05
Re: [Openexr-devel] OpenEXR from shared libs., Nikolaj Thygesen, 2007/03/03