约 60 个结果
在新选项卡中打开链接
  1. What are the -Xms and -Xmx parameters when starting JVM?

    2013年2月7日 · 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. java - JVM heap parameters - Stack Overflow

    2009年7月8日 · -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 that …

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

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

    2021年9月30日 · 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 …

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

    2013年11月22日 · 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 …

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

    2021年6月13日 · 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 …

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

    2015年6月25日 · Is there a maximum number you can set Xmx to when trying to increase jvm memory? Asked 17 years ago Modified 10 years, 7 months ago Viewed 133k times

  9. 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 compensate if you …

  10. Difference between Xms and Xmx and XX:MaxPermSize

    2016年7月12日 · 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 …