memory allocation in dmd

dennis luehring dl.soluz at gmx.net
Sun Jun 23 05:21:30 PDT 2013


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


More information about the Digitalmars-d mailing list