[Mono-devel-list] Memory management for long running processes

Alex Chudnovsky alexc at majestic12.co.uk
Tue Mar 29 11:12:45 EST 2005


Ben Maurer wrote:

>
>No, you have to install the heap-prof module from mono svn.
>
It would help a lot to have this profiler as part of main distribution as I find that for people like myself who mainly have Windows background it is very hard to build things on Linux -- I got some help from Linux guys however, even though
they struggled too for a while, nevertheless it appears that build is now successful however I could not fine libmono-profiler-desc-heap.so anywhere,
the best I've got in src/desc-heap is this:

-rw-r--r--  1 root root     84 Mar 10 21:12 ChangeLog
drwxr-xr-x  2 root root   4096 Mar 29 03:58 .deps
-rw-r--r--  1 root root   4130 Mar 10 21:12 desc-heap.c
-rw-r--r--  1 root root    316 Mar 29 03:58 desc-heap.lo
-rw-r--r--  1 root root 175996 Mar 29 03:58 desc-heap.o
-rw-r--r--  1 root root   1022 Mar 29 03:58 libmono-profiler-desc-heap.la
drwxr-xr-x  2 root root   4096 Mar 29 03:58 .libs
-rw-r--r--  1 root root  15130 Mar 29 12:25 Makefile
-rw-r--r--  1 root root    192 Mar 10 21:12 Makefile.am
-rw-r--r--  1 root root  14740 Mar 29 12:23 Makefile.in
--------

Make says nothing else left to do, so what next? 

When Mono 1.1.5 is run with --profile=heap:outfile it has error:

------------------
** (MJ12nodeMono.exe:17693): WARNING **: Error loading profiler module 'mono-profiler-heap': libmono-profiler-heap.so: cannot open shared object file: No such file or directory
------------------

The libraries that appear to have been installed are:

--------
/usr/local/lib/libmono-profiler-desc-heap.0.0.0
/usr/local/lib/libmono-profiler-desc-heap
/usr/local/lib/libmono-profiler-desc-heap.la
/usr/local/lib/libmono-profiler-desc-heap.0
/usr/local/lib/libmono-profiler-desc-heap.a
--------

Again I don't see .so, oh I am running it on Red Hat Fedore Core 2.

cheers

Alex





More information about the Mono-devel-list mailing list