[Mono-dev] Profiling / Memory Management tools
gregoryyoung1 at gmail.com
Sun May 31 17:31:37 UTC 2015
Will read through but I am interested in the unmanaged side (part of
what I am working on is actually an injected profiler)
On Sun, May 31, 2015 at 8:29 PM, Dan Liew <dan at su-root.co.uk> wrote:
> On 31 May 2015 at 17:35, Greg Young <gregoryyoung1 at 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 .
> 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 ,
> $ 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 .
>  http://www.mono-project.com/docs/debug+profile/debug/#using-valgrind-on-mono
>  http://www.mono-project.com/docs/debug+profile/profile/profiler/#profiler-option-documentation
>  https://github.com/mono/heap-shot
Studying for the Turing test
More information about the Mono-devel-list