https://issues.dlang.org/show_bug.cgi?id=19847
Issue ID: 19847 Summary: no GC memory above 4GB reported with --DRT-gcopt=profile:1 Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: minor Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: r.sagita...@gmx.de Build this program with -m64: void main() { ubyte[][] data; foreach(i; 0..10_000) data ~= new ubyte[1 << 20]; } and run it with "--DRT:gcopt=profile:1". It reports Number of collections: 14 Total GC prep time: 6 milliseconds Total mark time: 12 milliseconds Total sweep time: 29 milliseconds Max Pause Time: 11 milliseconds Grand total GC time: 47 milliseconds GC summary: 4076 MB, 14 GC 47 ms, Pauses 18 ms < 11 ms even though it allocates and retsins 10 GB of memory. --