On Wednesday 27 July 2011, Cosmin Luță wrote:
> I have a rather strange use case for APR which leads to quick
> memory increase on Linux (at least): a program creates (in a loop)
> memory pools which are passed to tasks in a threadpool. Each task
> will call apr_pool_destroy on its pool (received as an argument).

AFAICS due to the sleeps, you destroy pools at a max rate of 10/25ms 
while you create pools as fast as possible. Your memory usage will 
increase until all pools are created.

Reply via email to