Hunting down rogue memory allocations?

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 3 00:31:18 PDT 2014


On 02/10/14 22:31, Kiith-Sa wrote:

> If *time* spent by allocations is a problem, profile with `perf top`
> (assuming you have Linux): Look for 'gc', 'malloc', 'calloc', etc.
> (Plain perf record will also work, but not be as quick/interactive.
> CodeXL works too.)

If you have OS X, you can use Instruments that comes installed with Xcode.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list