On Wednesday, 24 May 2017 at 15:07:42 UTC, Steven Schveighoffer wrote:

However, I don't know the true answer. It may actually be 1.7MB of "bookeeping", but I doubt that...

It's a bit of pre-allocation and some internal bookkeeping.

void main()
{
    import std.stdio;
    import core.memory;
    writeln(GC.stats);
}

//   used, free
Stats(256, 1048320)

The remaining .7Mb could probably be attributed to some internal data structures.

Reply via email to