On Dec 14, 2007 6:05 PM, John Zhang <[EMAIL PROTECTED]> wrote: > When my module processes requests, I see a consistent > memory increase. It is like the memories were never > released. I am using the apr_* functions to allocate > memory (most of the time from the request->pool). My > understanding is that memories will be reclaimed by > apache after the request is processed (so I do not > need to free/delete). Anyone has any ideas? Does > this have anything to do with keep alive?
It should level out as each thread in the process has had a chance to run and allocate some memory for a range of requests. MaxMemFree can be used to return the heap memory that would otherwise be used by subsequent requests on that thread. -- Eric Covener [EMAIL PROTECTED]