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

RE: Subversion 0.24.2 released.

From: Sander Striker <striker_at_apache.org>
Date: 2003-06-19 19:33:59 CEST

> From: Kevin Pilch-Bisson [mailto:kevin@pilchie.homeip.net]
> Sent: Thursday, June 19, 2003 12:03 PM

> > Wonder if APR has a way you can tell it, never give me more then X bytes
> > of memory, or have APR keep track of peak memory usage, so it could be
> > regression tested for. The problem is that the memory regression test
> > might involve a lot of files and take a lot of time.
>
> Sure: Compile apr with pool debugging turned on. You'll get tons of stats
> about the total memory usage, but you might need a script to parse them for
> you.

Nope. This is not the _real_ memory usage. The implementation of debug
and release are quite different. With debug we fall back to malloc a lot
more and we don't have the overhead of prereserved memory. It will help
in debugging and in showing pool usage. It doesn't give you a sense of
how much mem is used in release builds though.

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 19 19:34:52 2003

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.