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?
You need to set JAVA_OPTIONS
in the jetty.sh
file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With