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

    Feb 7, 2013 · 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 …

  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 …

  3. java - JVM heap parameters - Stack Overflow

    Jul 8, 2009 · -Xms and -Xmx simply specifies the range in which the JVM can operate and resize the heap. If -Xms and -Xmx are the same value, then the JVM's heap size will stay constant at …

  4. 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 …

  5. 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 …

  6. Java app that uses a lot of memory. Use -Xmx? - Stack Overflow

    May 22, 2012 · Java app that uses a lot of memory. Use -Xmx? Asked 16 years, 3 months ago Modified 13 years, 4 months ago Viewed 48k times

  7. 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 …

  8. 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 …

  9. Run application via gradlew with -Xmx and -Xms - Stack Overflow

    Jun 22, 2017 · And even then when I run an application, I see Commited Memory size is < 520 MiB And this is when I run it as a normal Java App In the second case, when I run the …

  10. How is the default max Java heap size determined?

    Setting -Xms and -Xmx to the same value increases predictability by removing the most important sizing decision from the virtual machine. However, the virtual machine is then unable to …