-
Bug
-
Resolution: Fixed
-
Low
-
8.3.0, 8.2.3, 8.3.1, 8.2.4, 8.2.5, 8.2.6
-
8.02
-
7
-
Severity 3 - Minor
-
Issue Summary
When a Jira Admin visits the System Info Page /secure/admin/ViewSystemInfo.jspa
There exists a resource on this page that shows Jira's Java heap size and a link that allows you to "Force Garbage Collection'. When trying to click this link in Jira 8.2.3 it does not work.
Environment
- Jira 8.2.3
- Tested against multiple browsers, Firefox 67.0.4, Chrome 75.0.3770.100 same results
Steps to Reproduce
- Login to Jira as a system admin
- Navigate to /secure/admin/ViewSystemInfo.jspa
- Scroll down to Java VM Memory Statistics
- Try to click the link for Force garbage collection
Expected Results
Garbage collection is run against the heap.
Actual Results
- User gets an XRSF error page displayed
- GC does not run
- Logs show
2019-07-12 10:16:23,524 http-nio-8823-exec-15 INFO admin 616x2143x1 23zdgm 0:0:0:0:0:0:0:1 /secure/admin/ViewSystemInfo!garbageCollection.jspa [c.a.j.web.action.XsrfErrorAction] The security token is missing for 'admin'. The browser has provided ZERO parameters. Probably BUG! User-Agent : 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36'
Notes
This works correctly in Jira 7.13
Workaround
- No way to work around this from within Jira itself.
- However you could still force the JVM to perform a garbage collection event. More details in How to manually force a full garbage collection in Confluence - Atlassian Documentation (while this KB was created for Confluence, the steps can be applied to Jira in the same way)
- was cloned as
-
JRASERVER-70355 When trying to force garbage collection in Jira ViewMemoryInfo user gets XSRF Security Token Missing error
- Closed
- is mentioned by
-
RAID-1400 Loading...