On Thursday, 16 April 2015 at 12:17:24 UTC, Adil wrote:
Calling Securities.bytes shows "188 MB", but "ps" shows about 591MB 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.