What is the memory usage of my app?

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Apr 16 07:55:04 PDT 2015


On Thursday, 16 April 2015 at 12:17:24 UTC, Adil wrote:
> Calling Securities.bytes shows "188 MB", but "ps" shows about 
> 591
> MB of Resident memory. Where is the memory usage coming from?
> What am i missing?

I'd say this is memory allocated while you load the CSV file. I 
can't tell much more without seeing the actual code.

Suggestion: Compile with `dmd -vgc` and look where allocations 
happen, especially in loops.


More information about the Digitalmars-d-learn mailing list