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

Re: r11556 causes enormous fsfs memory use

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-10-27 19:56:00 CEST

On Wed, 27 Oct 2004, [UTF-8] Branko Ä^Libej wrote:

> Peter N. Lundblad wrote:
>
> >It apperas that apr_hash_set() allocates memory for each call that isn't a
> >delete, even if there is an entry in the table already.
> >
> Then that's an APR bug. Sure, we should work around it in SVN, but it
> needs fixing in APR, too.
>
Well, since setting the value to NULL (which we often do in this case) is
equivalent to deleting the entry, it might be valid to allocate memory
when the value changes from NULL. Might be a philosophical question...

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 27 19:40:23 2004

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.