Problem with dsss 0.78 rebuild error: out of memory

Spacen Jasset spacenjasset at yahoo.co.uk
Sat Apr 4 03:39:13 PDT 2009


zkp0s 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
>>
>>
> 
> I've got an even worse thing with dmd 2.027 and dsss 0.78 in linux.
> Just importing std.traits causes rebuild to freeze and start eating resources until it gets out of memory.
> I can't build many lib without that!
It may be the same bug if std.traits has __FILE__ macros that get joined 
onto strings. I have not investigated this further. I switched to dsss 0.75


More information about the Digitalmars-d-learn mailing list