D-Programming-Language/druntime — pull request #817 by rainers (2014-06-01 12:08:08+00:00)
Title: make GC configurable through environment variable

Here is a proposal to get the ball rolling. It adds gc.config to configure profiling and pool limits, allowing to experiment with other limits within the GC.

To fix your application to other defaults or to avoid dependency on the environment variable D_GC, replace it with your own version of gc.config with the same struct layout and pass it explicitely to the linker.