[nhc-users] -b vs. -p

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Mon, 15 Apr 2002 11:19:43 +0100


Saswat Anand <saswat@comp.nus.edu.sg> writes:

>   I notice that for my program, the max. live heap in the heap
> profile with -b option is around 300MB, wheras with -p option it is only
> 4K.  I am not sure if my understanding of max. live heap is correct. The
> above numbers refer to the maximum unit on the Y axis.

Your understanding is correct, but there seems to be a bug in the
biographical profiling code.

If you re-run the program with -b and also ask for a larger heap
(I tried 16Mb), then the -b profile looks identical to the -p profile,
with a similar maximum live heap of about 4K.

Regards,
    Malcolm