[Issue 6445] [CTFE] Absurd memory usage (still) on building array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 6 13:49:53 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6445
Jonathan M Davis <jmdavisProg at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmdavisProg at gmx.com
--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-08-06 13:49:50 PDT ---
CTFE was definitely improved such that it should generally use less memory
(e.g. arrays aren't always copied anymore - which not only used too much memory
but was semantically incorrect anyway). However, I don't think that the core
problem that dmd _never_ releases memory while compiling was fixed. So, even if
there's memory that should have been reclaimed and reused, it isn't, and more
memory is allocated. So, it should still be pretty easy to use too much memory
with CTFE. My guess would be that that's why you're using so much memory here.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list