Thread overview
Problem with dsss 0.78 rebuild error: out of memory
Jan 28, 2009
Spacen Jasset
Jan 29, 2009
Bill Baxter
Jan 29, 2009
Spacen Jasset
Jan 29, 2009
Spacen Jasset
Jan 29, 2009
Spacen Jasset
Apr 03, 2009
zkp0s
Apr 04, 2009
Spacen Jasset
Apr 05, 2009
Brian
Jun 07, 2011
armando sano
Jun 07, 2011
Trass3r
January 28, 2009
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?
January 29, 2009
On Thu, Jan 29, 2009 at 8:17 AM, Spacen Jasset <spacenjasset@yahoo.co.uk> 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 haven't seen that.  I think the problem I had was that it was just
really really slow to compile things.
But that could be a sign of crazy memory usage too.

--bb
January 29, 2009
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


January 29, 2009
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()");
January 29, 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.
April 03, 2009
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!
April 04, 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
April 05, 2009
On Wed, 28 Jan 2009 23:17:45 +0000, Spacen Jasset wrote:
> Has anyone encountered this problem before?

ive noticed it happens often if i forget the closing } or ] on struct/ array literals ex:

foo([1,2,3);
June 07, 2011
I am trying to compile dsss from source using dmd v2.051 and get the same problem when the dsss executable (v0.78) is being compiled by rebuild as of:

 ./rebuild/rebuild -full -Irebuild sss/main.d -ofdsss

Linux here too. Has the problem been fixed?

armando
June 07, 2011
Both tools are dead.