[Issue 6445] [CTFE] Absurd memory usage (still) on building array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 6 07:31:49 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=6445
Marco Leise <Marco.Leise at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Marco.Leise at gmx.de
--- Comment #7 from Marco Leise <Marco.Leise at gmx.de> 2014-01-06 07:31:45 PST ---
(In reply to comment #6)
> Note that you can alleviate this under Linux by replacing your
> /usr/libexec/gcc/i686-pc-linux-gnu/4.5.3/cc1d (adapt as appropriate, do gdc -v
> hello.d to see which backend it uses) with a stub that preloads Boehm like so:
>
> LD_PRELOAD="/usr/lib/libgc.so" $(dirname $(realpath $0))/real_cc1d $@
>
> Note that Boehm has to be built with malloc/calloc/free stubs enabled. Doing
> this brought my GDC memory usage down by a factor of six. I can make -j5 again!
Thank you feep. That helps a lot.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list