24-Jun-2013 22:47, Martin Nowak пишет:
On 06/23/2013 03:19 AM, Walter Bright wrote:
On 6/22/2013 4:24 PM, Kiith-Sa wrote:
With valgrind; did you use massif?
That would be the right tool to use instead of memcheck (the default
tool).
I've never heard of massif. Will check it out.
I tried it, works nice. No graphical output though.
1. compile dmd with debug symbols (-g)
2. valgrind --tool=massif ../dmd/src/dmd -main -unittest std/algorithm
3. ms_print massif.out.%PID% > outfile
http://valgrind.org/docs/manual/ms-manual.html
There is a massif-visualizer tool that works nicely for me.
--
Dmitry Olshansky