On 6/30/06, Henry Jen <[EMAIL PROTECTED]> wrote:
Ivan Ristic wrote:
> I have noticed that my multithreaded APR program consumes a *very*
> large amount of virtual memory per thread and I can't think of a

...

I believe that's the stack reserved for each thread.

I think you are right. If I create a detached thread (which then
exits), or perform apr_thread_join the memory consumption goes down. I
assume this is when the stack memory is deallocated.

--
Ivan Ristic, Technical Director
Thinking Stone, http://www.thinkingstone.com
ModSecurity: Open source Web Application Firewall

Reply via email to