Configuring JVM heap size in WebSphere Liberty

To maximize performance, configure JVM heap size in WebSphere Liberty.

To configure the JVM heap size or other JVM arguments:

  1. Open the jvm.options file in <install_root>/web/wlp/usr/servers/defaultServer.
  2. Edit the file to add JVM arguments. Remove # in front of #-Xmx1024m and save the file.
    Tip: You can change the heap size value of 1024.