The default sizes for initial heap and maximum heap are defined as a percentage of the machine’s physical memory, of which a production server nowadays tends to have a whole lot.
You can choose both via the -Xms and -Xmx command line options.
The default sizes for initial heap and maximum heap are defined as a percentage of the machine’s physical memory, of which a production server nowadays tends to have a whole lot.
You can choose both via the -Xms and -Xmx command line options.