Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1024m -Xmx2048mXmx4096m -XX:MaxMetaspaceSize=512m1024m -XX:+UseG1GC -XX:+DisableExplicitGC

...

  • Tell the JVM to use UTF-8 as an encoding for text files to be more platform independent
-

...

Xms1024m
  • Set the initial Java Heap memory size to 512 1024 Megabytes
-

...

Xmx4096m
  • Set the maximal Java Heap memory size to 1024 Megabytes
-XX:NewSize=256m
  • Set the initial size of new generation to 256 Megabytes
-XX:MaxNewSize=256m
  • Set the maximum size of new generation to 256 Megabytes
-XX:MetaspaceSize=64m
  • Set the size of the allocated class metadata space that will trigger a garbage collection the first time it is exceeded to 64 4096 Megabytes
-XX:MaxMetaspaceSize=

...

1024m
  • Set the maximum size of native memory that can be allocated for class metadata to 256 1024 Megabytes. This is especially recommended when redeploying Fedora 4 often, since otherwise OutOfMemory errors will occur.

...