You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2002/06/06 20:18:28 UTC

praise valgrind!

Philip, that last commit of yours (fixing the fs memleak found by
valgrind) just saved our butts, big-time.

Cmpilato and I have been hunting a memory leak all afternoon together.

  * Using the "old" fs schema (r2092), my loading of 1000 revisions
    from a dumpfile would go up to 50 megs of RAM, and just sort of
    bobble up-and-down until finished.

  * Using the "new" fs schema (r2093), the same test grew unboundedly,
    to 200M and beyond.  Totally unusable.

So cmpilato and I have been studying pool-debug logs (ugh) and walking
through the dumpfile parser code ("it's tight!  TIGHT code!", we'd
scream at one another.)  We were totally stumped.

Then the valgrind commit came through.

Now this test use 12 megs of memory, period, never grows beyond that.

At last, I think we're ready to a dump & load of our real repository.


   Excitedly,

     Ben C-S, Church of Valgrind.

 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: praise valgrind!

Posted by Ben Collins-Sussman <su...@collab.net>.
Karl Fogel <kf...@newton.ch.collab.net> writes:

> Ben Collins-Sussman <su...@collab.net> writes:
> >      Ben C-S, Church of Valgrind.
> 
> I am so there:
> 
>    http://developer.kde.org/~sewardj/

Sigh.   I guess I can't run in on my FreeBSD development box.  :-(

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: praise valgrind!

Posted by Daniel Berlin <db...@dberlin.org>.
On Thursday, June 6, 2002, at 04:24  PM, Karl Fogel wrote:

> Ben Collins-Sussman <su...@collab.net> writes:
>>      Ben C-S, Church of Valgrind.
>
> I am so there:
>
>    http://developer.kde.org/~sewardj/
>
I added dwarf2 support to valgrind, so that you can use gcc 3.1 with it if you like.
It should be in the development code starting with 0601


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: praise valgrind!

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Ben Collins-Sussman <su...@collab.net> writes:
>      Ben C-S, Church of Valgrind.

I am so there:

   http://developer.kde.org/~sewardj/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org