Split out allocation of heap instances.