Memory profiling D applications

2016-01-31 Thread Griffon26 via Digitalmars-d-learn
I would like to get a view of the amount of memory that my application requires over time, but this does not seem to be trivial in D. 1) I assume the garbage collector could keep around memory that my application is no longer using. If this is the case then no external memory profiler is

Re: Pipe one shell command into another

2016-01-30 Thread Griffon26 via Digitalmars-d-learn
On Saturday, 30 January 2016 at 15:12:26 UTC, Andrew wrote: foreach(line; pipesLs.stdout.byLine) pipesSort.stdin.writeln(line); Because you write sort's input first and read its output later, it might end up blocking if ls generates too much data. The output pipe of sort will fill up,