digitalmars.D - My codebase have reached the critical size
- deadalnix (6/6) Feb 16 2013 And that critical size isn't very large.
- Walter Bright (2/4) Feb 16 2013 Are there bugzilla entries for these?
- deadalnix (5/10) Feb 16 2013 They are for released version of dmd. For the new beta, things
- deadalnix (4/9) Feb 16 2013 So reduced thing with dmd from git, and this still boils down to
- kenji hara (4/16) Feb 16 2013 Just now, I posted another fix for bug 8997.
- deadalnix (3/5) Feb 16 2013 I have to go now, but will test it this evening. Thank a lot for
- deadalnix (5/26) Feb 17 2013 OK, tested and it does work ! otsukare sama !
- deadalnix (2/31) Feb 22 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9571
- Alexander Tankeev (3/12) Feb 17 2013 I think http://d.puremagic.com/issues/show_bug.cgi?id=9485 is about this...
- Maxim Fomin (4/10) Feb 16 2013 Wasn't this a problem long before? My D environment on linux
- H. S. Teoh (13/27) Feb 16 2013 This is still the situation, depending on how much memory your machine
- Arlen (6/12) Feb 22 2013 I have the same issue with my Boost.units port:
And that critical size isn't very large. I cannot compile anymore : Unable to fork: Cannot allocate memory I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors). Hopefully, dmd is fast because it doesn't use any GC.
Feb 16 2013
On 2/16/2013 1:37 AM, deadalnix wrote:I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors).Are there bugzilla entries for these?
Feb 16 2013
On Saturday, 16 February 2013 at 09:54:10 UTC, Walter Bright wrote:On 2/16/2013 1:37 AM, deadalnix wrote:They are for released version of dmd. For the new beta, things have changed, but it didn't reduced them to a simple test case yet.I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors).Are there bugzilla entries for these?
Feb 16 2013
On Saturday, 16 February 2013 at 09:54:10 UTC, Walter Bright wrote:On 2/16/2013 1:37 AM, deadalnix wrote:So reduced thing with dmd from git, and this still boils down to that : http://d.puremagic.com/issues/show_bug.cgi?id=8997I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors).Are there bugzilla entries for these?
Feb 16 2013
2013/2/17 deadalnix <deadalnix gmail.com>On Saturday, 16 February 2013 at 09:54:10 UTC, Walter Bright wrote:Just now, I posted another fix for bug 8997. https://github.com/D-Programming-Language/dmd/pull/1667 Kenji HaraOn 2/16/2013 1:37 AM, deadalnix wrote:So reduced thing with dmd from git, and this still boils down to that : http://d.puremagic.com/issues/**show_bug.cgi?id=8997<http://d.puremagic.com/issues/show_bug.cgi?id=8997>I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors).Are there bugzilla entries for these?
Feb 16 2013
On Sunday, 17 February 2013 at 05:25:28 UTC, kenji hara wrote:Just now, I posted another fix for bug 8997. https://github.com/D-Programming-Language/dmd/pull/1667I have to go now, but will test it this evening. Thank a lot for your hard work !
Feb 16 2013
On Sunday, 17 February 2013 at 05:25:28 UTC, kenji hara wrote:2013/2/17 deadalnix <deadalnix gmail.com>OK, tested and it does work ! otsukare sama ! But . . . This issue was hidding another one. I still have linking issue. I'm dustmiting it right now, but this will take a while !On Saturday, 16 February 2013 at 09:54:10 UTC, Walter Bright wrote:Just now, I posted another fix for bug 8997. https://github.com/D-Programming-Language/dmd/pull/1667On 2/16/2013 1:37 AM, deadalnix wrote:So reduced thing with dmd from git, and this still boils down to that : http://d.puremagic.com/issues/**show_bug.cgi?id=8997<http://d.puremagic.com/issues/show_bug.cgi?id=8997>I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors).Are there bugzilla entries for these?
Feb 17 2013
On Sunday, 17 February 2013 at 12:20:15 UTC, deadalnix wrote:On Sunday, 17 February 2013 at 05:25:28 UTC, kenji hara wrote:http://d.puremagic.com/issues/show_bug.cgi?id=95712013/2/17 deadalnix <deadalnix gmail.com>OK, tested and it does work ! otsukare sama ! But . . . This issue was hidding another one. I still have linking issue. I'm dustmiting it right now, but this will take a while !On Saturday, 16 February 2013 at 09:54:10 UTC, Walter Bright wrote:Just now, I posted another fix for bug 8997. https://github.com/D-Programming-Language/dmd/pull/1667On 2/16/2013 1:37 AM, deadalnix wrote:So reduced thing with dmd from git, and this still boils down to that : http://d.puremagic.com/issues/**show_bug.cgi?id=8997<http://d.puremagic.com/issues/show_bug.cgi?id=8997>I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors).Are there bugzilla entries for these?
Feb 22 2013
On 17.02.2013 8:27, deadalnix wrote:On Saturday, 16 February 2013 at 09:54:10 UTC, Walter Bright wrote:I think http://d.puremagic.com/issues/show_bug.cgi?id=9485 is about this bug too.On 2/16/2013 1:37 AM, deadalnix wrote:So reduced thing with dmd from git, and this still boils down to that : http://d.puremagic.com/issues/show_bug.cgi?id=8997I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors).Are there bugzilla entries for these?
Feb 17 2013
On Saturday, 16 February 2013 at 09:37:12 UTC, deadalnix wrote:And that critical size isn't very large. I cannot compile anymore : Unable to fork: Cannot allocate memory I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors). Hopefully, dmd is fast because it doesn't use any GC.Wasn't this a problem long before? My D environment on linux fails to unittest Phobos code with exactly same error message and I remember this was discussed in newsgroups.
Feb 16 2013
On Sat, Feb 16, 2013 at 12:12:38PM +0100, Maxim Fomin wrote:On Saturday, 16 February 2013 at 09:37:12 UTC, deadalnix wrote:This is still the situation, depending on how much memory your machine has. I used to run the Phobos unittests with make -j6 to speed things up, but recently I can't do it anymore without getting the above error message, because std.algorithm will consume all the memory, leaving no room for the others. I remember having DMD do that on me as well, when one time I used std.regex.ctRegex a bit too eagerly. I think (part of?) the problem is that CTFE allocates memory but never frees it, so too much CTFE will cause DMD to run out of memory. T -- Spaghetti code may be tangly, but lasagna code is just cheesy.And that critical size isn't very large. I cannot compile anymore : Unable to fork: Cannot allocate memory I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors). Hopefully, dmd is fast because it doesn't use any GC.Wasn't this a problem long before? My D environment on linux fails to unittest Phobos code with exactly same error message and I remember this was discussed in newsgroups.
Feb 16 2013
I have the same issue with my Boost.units port: https://github.com/Arlen/phobos/blob/std_units/std/units.d DMD runs out of memory and that's why I've had to comment out most of the definitions. I haven't tried separate compilation, yet. Arlen On Sat, Feb 16, 2013 at 3:37 AM, deadalnix <deadalnix gmail.com> wrote:And that critical size isn't very large. I cannot compile anymore : Unable to fork: Cannot allocate memory I cannot use separate compilation to mitigate the problem as some symbol are not emitted properly (so I get linker errors). Hopefully, dmd is fast because it doesn't use any GC.
Feb 22 2013