On 11/28/2012 11:11 AM, 1100110 wrote:
> On 11/28/2012 12:57 PM, Dmitry Olshansky wrote:
>> 11/28/2012 10:51 PM, Ali Çehreli пишет:
>>> A friend of mine reports that the memory usage of the following program
>>> grows continuously when compiled with dmd 2.060 and run on Windows
7 sp1
>>> home premium 64 bit (also on Microsoft Windows [Version 6.1.7600]).
>>>
>>> If you are on Windows, could you please say whether you have the same
>>> problem. (I don't have Windows.) The following is how we reproduce:
>>
>> [snip]
>>
>>> The program gets terminated by a core.exception.OutOfMemoryError. (Same
>>> problem with std.stream.BufferedFile.)
>>
>> Same here on more or less fresh 2.061. About 12 iterations. Win8 x64
>> running 32-bit app.
>>
>>
>
> Isn't this a known problem with a conservative GC on 32bit? The GC sees
> something that *Could* be a reference, and refuses to collect that data.
I think it is more like an integer value looking like a pointer to
something. I don't see what the GC may be confused with in this case.
I've still created a bug:
http://d.puremagic.com/issues/show_bug.cgi?id=9094
Ali