- Баллы
- 123
- Ник в Minecraft
- Reality_SC
Не очень.Да зачем) сервер сам знает сколько ему надо, ограничение лишь приведёт к его крашу.
То есть без указания Xmx сервер будет использовать меньшее из: 1/4 доступной памяти или 1 Гб.maximum heap size:
Smaller of 1/4th of the physical memory or 1GB. Before J2SE 5.0, the default maximum heap size was 64MB. You can override this default using the -Xmx command-line option.
initial heap size:
Larger of 1/64th of the machine's physical memory on the machine or some reasonable minimum. Before J2SE 5.0, the default initial heap size was a reasonable minimum, which varies by platform. You can override this default using the -Xms command-line option.