Make sure we've got enough heap space while running.