memory allocation in dmd
Kiith-Sa
kiithsacmp at gmail.com
Mon Jun 24 17:39:55 PDT 2013
On Monday, 24 June 2013 at 18:47:17 UTC, Martin Nowak wrote:
> 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
sudo apt-get install massif-visualizer
(on a newish debian/ubuntu/mint/etc)
More information about the Digitalmars-d
mailing list