Confiigure JVM setting in Jetty standalone server

12,049

You need to set JAVA_OPTIONS in the jetty.sh file.

Share:
12,049

Related videos on Youtube

rohit
Author by

rohit

Updated on September 15, 2022

Comments

  • rohit
    rohit almost 2 years

    I'm trying to install a standalone jetty 7.6.3 server in CENTOS. I was able successfully deploy and run a sample application with default settings. Now i want to increase the JVM memory, that is set the Xmx and Xms parameters. After reading through the documentation i have set them in start.ini file. But this is not getting reflected when i start the server. I have tried using --exec parameter in start.ini, but this spawns a separate VM. I'm using java -jar start.jar to start the server

    How do i configure the JVM memory GC setting in a jetty standalone server?