The first is going through the admin screen -> application server -> JVM Settings -> JVM Options -> and add the following to JVM Option:
-XX:+UseParallelGC
Save your options and you'll need to restart your server.
Make sure you only add that here, otherwise your server won't start up correctly and you'll be forced to do what I learned the hard way (proceed to step two if you added it to the General tab's Debug Options)
Open the following file:
~/glassfish/domains/domain1/config/domain.xml
Add a child
-XX:+UseParallelGC
No comments:
Post a Comment