allow disabling of memory heaps