Re: Where is my memory?

2015-03-23 Thread Steven Schveighoffer via Digitalmars-d
On 3/22/15 6:32 AM, anonymous wrote: On Sunday, 22 March 2015 at 09:42:41 UTC, Ozan Süel wrote: Hi! I'm working on a Big Data project, where a huge amount of RAM is needed. Using D I've run into a - let's called it - memory leak. I tested this with following code: foreach(i; 0..1000) {

Re: Where is my memory?

2015-03-22 Thread anonymous via Digitalmars-d
On Sunday, 22 March 2015 at 09:42:41 UTC, Ozan Süel wrote: Hi! I'm working on a Big Data project, where a huge amount of RAM is needed. Using D I've run into a - let's called it - memory leak. I tested this with following code: foreach(i; 0..1000) { int[] ints;

Re: Where is my memory?

2015-03-22 Thread Martin Nowak via Digitalmars-d
On Sunday, 22 March 2015 at 09:42:41 UTC, Ozan Süel wrote: But why is GC (Garbage Collector) not running? Following the explanations in http://wiki.dlang.org/Memory_Management memory usage should be something around 220KB. The GC maps memory from the underlying OS in pool sized chunks. The

Re: Where is my memory?

2015-03-22 Thread Rikki Cattermole via Digitalmars-d
On 22/03/2015 10:42 p.m., Ozan =?UTF-8?B?U8O8ZWwi?= ozan.su...@gmail.com wrote: Hi! I'm working on a Big Data project, where a huge amount of RAM is needed. Using D I've run into a - let's called it - memory leak. I tested this with following code: foreach(i; 0..1000) { int[]

Where is my memory?

2015-03-22 Thread via Digitalmars-d
Hi! I'm working on a Big Data project, where a huge amount of RAM is needed. Using D I've run into a - let's called it - memory leak. I tested this with following code: foreach(i; 0..1000) { int[] ints; foreach(j; 0..1000) { ints