memory allocation in dmd

Walter Bright newshound2 at digitalmars.com
Sun Jun 23 10:48:48 PDT 2013


On 6/23/2013 5:21 AM, dennis luehring wrote:
> Am 22.06.2013 23:41, schrieb Walter Bright:
>> Compiling std.algorithm for unittests consumes all the memory on many machines.
>> I've been looking into what is allocating all that memory, and it isn't so easy
>> without adding instrumentation code anywhere.
>>
>> Anyone know of a convenient tool to do this on Linux?
>>
>> (valgrind just hangs, or at least I gave up on it after 6 hours)
>
> there are "sometimes" better tools on windows or commercials - you should try these
>
> http://www.softwareverify.com/cpp-memory.php - i like this one
>
> http://mtuner.net/
>
> http://www.puredevsoftware.com/MemPro.htm
>
> all for memory leak detection, but also doing memory profiling

Thanks!


More information about the Digitalmars-d mailing list