-Xmx (Maximum Heap Size) This setting controls the maximum amount of memory that the Java Virtual Machine (JVM) can use for the heap. The heap is where your Java objects live. Example: -Xmx1024m means the JVM can use up to 1024 megabytes (1 GB) of memory.
Java: XMX and XMS
Java: XMX and XMS
Java: XMX and XMS
-Xmx (Maximum Heap Size) This setting controls the maximum amount of memory that the Java Virtual Machine (JVM) can use for the heap. The heap is where your Java objects live. Example: -Xmx1024m means the JVM can use up to 1024 megabytes (1 GB) of memory.