Allow setting of heap size and default to 256m.