Problem with dsss 0.78 rebuild error: out of memory

Spacen Jasset spacenjasset at yahoo.co.uk
Thu Jan 29 07:12:44 PST 2009


Spacen Jasset wrote:
> Spacen Jasset wrote:
>> Spacen Jasset wrote:
>>> I installing a new pc, and so have installed the latest tools 
>>> specifically dss 0.78
>>>
>>> I find that when compiling certain things, such as Derelict (dsss net 
>>> install derelict) or the project I am working on, rebuild runs out of 
>>> memory.
>>>
>>> version 0.75 works ok, but 0.78 does not. I have 1Gb of memory + 2G 
>>> of swap.
>>>
>>> Has anyone encountered this problem before?
>> I have found that there is indeed a bug in dsss 0.78 that manifests on 
>> at least linux DMD.
>>
>> If anyone has version 0.78 could see if you can reproduce it? I have 
>> not tried windows yet, either.
>>
>> Here are the files. dsss will loop for ages and then run out of 
>> memory. It seems to get stuck in parse.c which is the DMD front end 
>> built into rebuild.
>>
>> ---dsss.conf---
>> [engine.d]
>>
>> ---engine.d---
>> module renderer;
>>
>>
>> class RenderEngine
>> {
>>         void reset()
>>     {
>>         func(__FILE__ " RenderEngine: reset()");
>>     }
>>     }
>>
>> --- ---
>> Invoke with dsss build
>>
>>
> engine.d can be simplified to just:
> 
>    func(__FILE__ " RenderEngine: reset()");
I reproduced this on windows, but only with the original engine.d and 
not the one liner mentioned above. I've sent an email to Gregor about this.


More information about the Digitalmars-d-learn mailing list