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

Re: Huge memory leaks from svn using https

From: Jamie Lawrence <jal_at_jal.org>
Date: 2005-07-01 20:25:57 CEST

On Fri, 01 Jul 2005, Amol Karnik wrote:

> If i checkout the trunk of my repository, my memory usage goes up like
> crazy.
> I checked the output from top and memory usage on an idle newly rebooted
> svn server machine *went from around 200Mb to 1.1 Gb*.
> After the checkout finished, the memory* decreased only slightly from
> 1.1Gb to 999Mb.*
> I stopped httpd, and the memory usage *went down from 999Mb to 976Mb*.
> When i start httpd again, the memory usage as reported in top, *went
> from 976 to 983Mb.

Are you looking at the mem used value in top? If so, you do realize that
Linux uses all unused RAM as a cache, right? You can verify this for
yourself by doing something on a large file. Say, reboot your machine,
grep a 2G file for something, and you'll have the same effect.

The RAM is released on demand, as applications use it. In general, let a
linux box run for a few days, and you will see the Mem free value stay
roughly flat at some very small value, fluxuating only when a large app
exits.

The only thing to be concerned about is if, say httpd had a huge memory
usage.

-j

-- 
Jamie Lawrence                                        jal@jal.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 1 20:43:26 2005

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

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