[clean-list] Heap Profiler.Heap Full...

Fabien Todescato f.todescato@larisys.fr
Mon, 27 Aug 2001 09:50:35 +0200


Dear Cleaners, and Clean Team,

I am at the moment trying to optimize the memory usage of a program with
seems to have unduly large memory requirements, and am trying to use to this
effect the heap profiler.

I have activated in the Profiling options the Heap Profiling with a minimum
heap profiling limit of 32M. I can compile, run, and get a generated heap
profile .hcl file without any problem. Unfortunately, when I try to have the
Heap Profiler analyze the .hcl file - ~35Mb in size -, I get the 'Heap Full'
error message.

Would it be possible to have a version of the Heap Profiler accepting larger
.hcl files ? I guess it is enough to rebuild a profiler version with a
larger heap size, and at work we are equipped with servers with 1Gb of main
memory, so we can afford to run Clean programs with a 256 or 512Mb heap size
:)

Voilą, any help would be greatly appreciated.

Best regards, Fabien TODESCATO

PS.Yes, I have noticed the irony in having the Heap Profiler abort on a
'Heap Full' error.