dmd simply never frees any memory it allocates.

Since GDC uses DMD front-end, I do not think I can get any relief by using that too. Right?