Limit compilation memory usage