I want to clear GC for Confluence but Force garbage collection option is not available in Confluence but it's there for JIRA and Fisyeye.
Please suggest me on this.
If you have Confluence pointing to a JDK, you can run the following:
sudo jcmd 38888 GC.run
(i) Where 38888 is the PID for Confluence
I've tried this out several times and it always triggers a full GC in my environment. Hope this helps! :)
Confluence doesn't have the same sort of memory usage, the force GC option isn't as useful.
Rather than do it, could you explain why you think you want to force a GC run?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.