[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: apr pools & memory leaks (revisited, if briefly)

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Mon, 14 Dec 2009 10:39:02 -0800

On Mon, Dec 14, 2009 at 10:34 AM, C. Michael Pilato <cmpilato_at_collab.net> wrote:
> Mark Phippard tipped me off to this.
>
> Glad to hear that APR folk took the report seriously enough to investigate
> the matter.  Did anyone there happen to look at the fact that MaxMemFree
> seems to not work at all, or that pools appear not to be automagically
> defragmentable?

The core issue that Ben identified is still there - but, in practice,
most web servers tend to have very repetitive data flows and memory
allocation patterns, so it's not something that anyone but SVN users
(who have big commits and big memory peaks) would ever encounter.

We could make the fragmentation a bit smarter - that is, not jump the
power-of-2 boundary automatically. But, this now seems more
appropriate for dev_at_apr and not dev_at_subversion. -- justin
Received on 2009-12-14 19:39:37 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.