document tricks to lower memory usage during compilation