Allocate heap at first usage, rather than assuming we can fit it in