On 31 May 2015 at 17:35, Greg Young <gregoryyou...@gmail.com> wrote:
> What tools are people using with mono? I have tried as an example
> using valgrind to verify the stuff I am working on is reasonable but
> the listings of problems that come out are massive.

Checking the memory usage via valgrind will be pretty useless to you
unless you know the mono internals. If you do want to continue down
that route look at [1].

You're more likely to be interested in memory use at the level of your
C#/F# code. To do this I've used mono's built-in memory profiling [2],
e.g.

$ mono --profile=log:heapshot my_program.exe

You can specify how frequently shots of the heap are taken. You can
view the result using mprof or heapshot [3].

[1] http://www.mono-project.com/docs/debug+profile/debug/#using-valgrind-on-mono
[2] 
http://www.mono-project.com/docs/debug+profile/profile/profiler/#profiler-option-documentation
[3] https://github.com/mono/heap-shot
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to