[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: Branko Čibej <brane_at_xbc.nu>
Date: 2004-10-27 07:46:28 CEST

Peter N. Lundblad wrote:

>On Mon, 25 Oct 2004, Eric Gillespie wrote:
>>Importing NetBSD src (822 MB, 89482 files, 10902 directories)
>>into an fsfs repository with svnserve 1.1.1, svnserve grows to
>>use 124 MB. The user who initially reported this to me saw it
>>bump into a 128 MB resource limit.
>>I tracked this down to r11556. Undo that from a 1.1.1 working
>>copy, and the memory usage decreases back to 1.1.0 levels which,
>>while bad[1], were at least acceptable.
>Thank you for tracking it that far. I'm pretty sure I found the reason for
>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.

-- Brane

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 27 07:46:32 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.