Concern about dmd memory usage on win32

Rainer Schuetze r.sagitario at gmx.de
Mon Jan 14 14:57:14 PST 2013



On 14.01.2013 23:35, Walter Bright wrote:
> On 1/14/2013 1:35 PM, monarch_dodra wrote:
>> On Tuesday, 11 December 2012 at 22:11:55 UTC, Walter Bright wrote:
>>> On 12/7/2012 6:23 AM, monarch_dodra wrote:
>>>> Also, I'm no expert, but why is my dmd limited to 1 GB memory on my
>>>> 64 bit
>>>> machine...?
>>>
>>> The latest beta I uploaded increases the limit to 2 GB (thanks to a
>>> patch by
>>> Rainer Schuetze).
>>
>> Is this patch in the main github release, or is there something
>> special to
>> change in the DMD makefile?
>>
>> I'm still having trouble, and am now having to deactivate some of
>> algorithm's
>> unittest to compile it, even without any changes.
>>
>> Any idea what I'm doing wrong?
>
> Durn, I don't remember what the patch was.

The patch was in the heap allocation of dmc's runtime library snn.lib. 
The new lib seems to be in dmd 2.061, but it's probably not picked up 
when linking with dmc, only when building D files. It has to be copied 
to dmc's lib path aswell to have an effect on dmd itself.


More information about the Digitalmars-d mailing list