Быстрый компромисс между опциями Java -Xms и -Xmx

Учитывая эти две команды

A:

<code>$ java -Xms10G -Xmx10G myjavacode input.txt
</code>

B:

<code>$ java -Xms5G -Xmx5G myjavacode input.txt
</code>

У меня есть два вопроса:

Since command A reserves more memory with its parameters, will A run faster than B? How do -Xmx and -Xms affect the running process and the output of my program?

Ответы на вопрос(7)

Ваш ответ на вопрос