[Mono-devel-list] Memory management for long running processes
Ben Maurer
bmaurer at ximian.com
Tue Mar 29 13:00:52 EST 2005
On Tue, 2005-03-29 at 18:56 +0100, Alex Chudnovsky wrote:
> Ben Maurer wrote:
>
> >Am seeing this problem on SUSE 9.3 as well. For now, just move
> >the /usr/local/lib/libmono-profiler-desc-heap
> >to /usr/local/lib/libmono-profiler-desc-heap.so. I could use some
> >automake wizard to find out where I messed up.
> >
> >
> Well, I did that, but I was having hard time trying to get it working:
>
> [mybox MJ12node]# mono --profile=heap:outfile MJ12nodeMono.exe
>
> ** (MJ12nodeMono.exe:22297): WARNING **: Error loading profiler module
> 'mono-profiler-heap': libmono-profiler-heap.so: cannot open shared
> object file: No such file or directory
>
> ---
>
> I have written lots of text about this issue and then realised that
> actual filename (as compiled by the library) is
> libmono-profiler-desc-heap however README was asking to use just 'heap',
> so it could not find file
> as it was looking for libmono-profiler-heap.so --- it was hard to
> understand whats going on because humans tend to skip the middle part of
> the word, so it was not immediately apparent that 'desc' was missing.
>
> The reason for this is what appears to be incorrect README entry: Run
> mono --profile=heap:outfile, then run mono-heap-prof-view
>
> It should read as: Run mono --profile=desc-heap:outfile, then run
> mono-heap-prof-view
No, there are two different profilers, that's why ;-). desc-heap was a
five minute hack I made for the beagle people, so that's why there is no
documentation. Sorry about that. You *don't* need to run
mono-heap-prof-view on it.
FYI, I think I fixed the .so bug in svn.
-- Ben
More information about the Mono-devel-list
mailing list