You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Shatzer, Larry" <La...@Spirent.com> on 2004/03/19 02:04:42 UTC
Memory usage on server side with svnserve
Sent this last night on the users list, no response, and figured there might
be a few on here that don't watch the user list, or might have missed it.
-- Larry
-----Original Message-----
From: Shatzer, Larry [mailto:Larry.Shatzer@Spirent.com]
Sent: Wednesday, March 17, 2004 7:41 PM
To: 'users@subversion.tigris.org'
Subject: Memory usage on server side with svnserve
I am trying to check in a directory that has just under 6,000 files (98% are
new, with the rest of the 2% with changes). The total size of the directory
is around 5 megabytes. (lots and lots of small XML files).
As the commit happens the svnserve process eats up the ram until I get
swap_pager_getswapspace: failed on the console and the client connection
dies.
I copied over the directory to the FreeBSD machine and committed the files
(over file:// instead of svn://) and the process memory usage was nowhere
near as aggressive as svnserve. I know that if I throw more RAM (and/or swap
space) at this it will go away (until I have to commit something larger than
I have memory for.)
I was wondering if there was some memory that could be deallocated that is
not somewhere.
Some background:
svnserve 1.0.1 (built from port system) running on FreeBSD 4.9, 512 megs ram
(only a ~200 meg swap drive). Client: win32 1.0.0
-- Larry
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Memory usage on server side with svnserve
Posted by "D.J. Heap" <dj...@shadyvale.net>.
Shatzer, Larry wrote:
[snip]
>
> I am trying to check in a directory that has just under 6,000 files (98% are
> new, with the rest of the 2% with changes). The total size of the directory
> is around 5 megabytes. (lots and lots of small XML files).
>
> As the commit happens the svnserve process eats up the ram until I get
> swap_pager_getswapspace: failed on the console and the client connection
> dies.
>
[snip]
Can you provide a repro recipe (did you just do 'svn add' or 'svn add *'
or what)? Something similar to this was fixed on trunk a few days ago.
See issue 1635:
http://subversion.tigris.org/issues/show_bug.cgi?id=1635
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org