[Issue 6445] [CTFE] Absurd memory usage (still) on building array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 7 03:02:13 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6445


Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh at gmail.com


--- Comment #3 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2011-08-07 03:02:09 PDT ---
I've hitted the dmd's "Out of Memory"  with constructing bit-Trie form a set of
[a,b) intervals at compile time. I haven't been able to reduce it
significantly, but I think it's the same bug.

The main loop in my cases sets a lot of separate bits in an array, and if array
gets copied on each write I think it explains the enormous memory usage.

-- 
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