adds the option to specify a max heap size for the server