Re: 1GB log files?



Hi,

Some notes about this:

Most importantly is that the snapshots are totally broken if you take
them on Mono 1.1.18; you'll need some 1.2.x version for them to make
sense.

On Tue, 2007-01-16 at 16:28 -0500, Debajyoti Bera wrote:
> 2) export BEAGLE_HEAP_SHOT_DIR=/tmp

If you don't set this, the files are written out to disk in the current
directory.

> 4) Heap-shot allows to checkpoint the heap status at several times by sending
> $ kill -PROF <pid of beagled>
> while beagled is running, sending the signal PROF to beagled dumps the current 
> heap map to a file in /tmp.

Beagle also automatically checkpoints (by sending itself SIGPROF) any
time the RSS changes by more than 5% or the heap size changes by 10%
(IIRC) so sending SIGPROF isn't necessary unless you want additional
snapshots.

Joe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]