Supply missing argument to choose_heap_size()

Fixes issue #538