February 2025
M T W T F S S
 12
3456789
10111213141516
17181920212223
2425262728  

Categories

February 2025
M T W T F S S
 12
3456789
10111213141516
17181920212223
2425262728  

Setting Java garbage collection policies

Navigate to the JVM which you want to set gc policy as mentioned in below figure.

 

verbose1

Enter the gc policy which you want to set in the text field “Generic JVM arguments “
other gc policies which you can set for JDK 5 are:-
-Xgcpolicy:optthruput
-Xgcpolicy:optavgpause
-Xgcpolicy:subpool

 

 

verbose3

 

Save and synchronize the change and then restart the JVM (server1).
If you take JVM process status in unix/linux you will be able to see an entry similar to below. Below screen is from a windows javacore dump file.

 

 

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>