About 62 results
Open links in new tab
  1. What are the -Xms and -Xmx parameters when starting JVM?

    Jun 11, 2024 · The flag Xmx specifies the maximum memory allocation pool for a Java Virtual Machine (JVM), while Xms specifies the initial memory allocation pool. This means that your JVM will be …

  2. What does Java option -Xmx stand for? - Stack Overflow

    The -Xmx option changes the maximum Heap Space for the VM. java -Xmx1024m means that the VM can allocate a maximum of 1024 MB. In layman terms this means that the application can use a …

  3. Speed tradeoff of Java's -Xms and -Xmx options - Stack Overflow

    The speed tradeoffs between various settings of -Xms and -Xmx depend on the application and system that you run your Java application on. It also depends on your JVM and other garbage collection …

  4. java - JVM heap parameters - Stack Overflow

    Jul 8, 2009 · After reading already asked question on the subject and a lot of googling I am still not able to have a clear view of -Xms option My question is: what's the difference between java -Xms=512m …

  5. How to set the -Xmx when start running a jar file? - Stack Overflow

    Nov 22, 2013 · The -Xmx parameter belongs to the (nonstandard) JVM options, and--being an option--needs to be listed before -jar (or at least before file.jar). The JVM will not recognize an -Xmx …

  6. How do I set Java's min and max heap size through environment …

    Jun 13, 2021 · You can't do it using environment variables directly. You need to use the set of "non standard" options that are passed to the java command. Run: java -X for details. The options you're …

  7. What is the default max heap size (-Xmx) in Java 8?

    Sep 30, 2021 · In the oracle documentation I found: -Xmx size Specifies the maximum size (in bytes) of the memory allocation pool in bytes ... The default value is chosen at runtime based on system …

  8. Difference between Xms and Xmx and XX:MaxPermSize

    What the difference between -Xms4096m -Xmx2048M -XX:MaxPermSize=712M I am getting confused of this two -Xmx2048M and -XX:MaxPermSize=712M and will happen if I use -Xmx2048M or …

  9. java - Is there a maximum number you can set Xmx to when trying to ...

    Jun 25, 2015 · Is there a maximum number you can set Xmx to when trying to increase jvm memory? Asked 17 years, 1 month ago Modified 10 years, 8 months ago Viewed 133k times

  10. Java Memory Limit -Xmx suffix: upper vs lower case m/M and g/G

    It is commonly known that it is possible to limit the Java heap size with -Xmx<amount><unit>, where unit is the data amount unit like Gigabyte, Megabyte, etc. I know that -Xmx128M means 128 Mebibytes …