On Tuesday, 26 March 2013 at 10:08:30 UTC, Walter Bright wrote:
On 3/26/2013 3:04 AM, Walter Bright wrote:
On 3/26/2013 2:38 AM, Rory McGuire wrote:
Thanks I remember about the -profile switch but I don't see
memory usage there.
-profile and -cov do not track memory usage.
If you see your program using more and more memory even
though it should not be
how do you check where the problem is?
I've written memory usage profilers before, but haven't done
one for D. You're
the first to ask for one.
Now that I think about it, it wouldn't be that hard to add
memory allocated per function when using -profile.
But my larger point is how simple it is to use -cov and
-profile; it's hard to imagine it being any easier.
Something like this?
http://visualvm.java.net/features.html