I had some memory leaks going on in a C# application, and wanted to dump the heap objects the way I used to in .NET under Windows. Here are notes of what I had to do to get Heap-Buddy working with Mono under Ubuntu 7.10:
mono c# heap dump
you want heap shot from here http://www.mono-project.com/HeapShot
to compile I needed to install:
sudo apt-get install libglib2.0-dev
sudo aptitude install subversion nant mono mono-gmcs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil
sudo mv /usr/local/lib/libmono-profiler* /usr/lib
mono –profile=heap-buddy:x.out datingline.exe -a
heap-buddy x.out types
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment