best memory profiler (to debug accumulated allocation of each line) for D?

mw mingwu at gmail.com
Sat Oct 15 03:19:54 UTC 2022


On Friday, 14 October 2022 at 19:06:12 UTC, rassoc wrote:
> On 10/14/22 20:45, mw via Digitalmars-d-learn wrote:
>> Any suggestions?
>
> There's `dmd -profile=gc` or `dub build --build=profile-gc`.

Thanks. I eventually use valgrind --tool=massif, and found the 
problem was in a underlying C library doing lots of small 
allocations.


More information about the Digitalmars-d-learn mailing list