www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Problem with dsss 0.78 rebuild error: out of memory

reply Spacen Jasset <spacenjasset yahoo.co.uk> writes:
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?
Jan 28 2009
next sibling parent Bill Baxter <wbaxter gmail.com> writes:
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
Jan 28 2009
prev sibling next sibling parent reply Spacen Jasset <spacenjasset yahoo.co.uk> writes:
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
Jan 28 2009
next sibling parent reply Spacen Jasset <spacenjasset yahoo.co.uk> writes:
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()");
Jan 28 2009
parent Spacen Jasset <spacenjasset yahoo.co.uk> writes:
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.
Jan 29 2009
prev sibling parent reply zkp0s <gerar1995 gmail.com> writes:
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!
Apr 03 2009
parent Spacen Jasset <spacenjasset yahoo.co.uk> writes:
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
Apr 04 2009
prev sibling parent reply Brian <digitalmars brianguertin.com> writes:
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);
Apr 05 2009
parent reply armando sano <armando.sano gmail.com> writes:
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
Jun 06 2011
parent Trass3r <un known.com> writes:
Both tools are dead.
Jun 07 2011