Java – memory limits settings

To set memory limits in Java we use two arguments:-Xms – minimum (in kilobytes – k, megabytes – m or gigabytes -g)-Xmx – maximum (in kilobytes – k, megabytes – m or gigabytes -g) Example Default values Default values are set dynamically by JVM and they are usually set in the following way:-Xms -> 1/64 …

Java – memory limits settings Czytaj dalej »