Good day!
We have a fairly large Jira server instance that keeps crashing over time complaining that it has run out of memory.
In the atlassian-jira-gc log this error is all over the place:
2023-01-19T08:40:45.611+0200: 74806.089: [GC (Allocation Failure) [PSYoungGen: 2282149K->24502K(2522624K)] 5247035K->2989882K(8115200K), 0.0646456 secs] [Times: user=0.17 sys=0.01, real=0.07 secs]
2023-01-19T08:41:03.633+0200: 74824.111: [GC (Allocation Failure) [PSYoungGen: 2260406K->16345K(2509312K)] 5225786K->2982095K(8101888K), 0.0645660 secs] [Times: user=0.17 sys=0.00, real=0.07 secs]
2023-01-19T08:41:09.456+0200: 74829.933: [GC (Allocation Failure) [PSYoungGen: 2252249K->206907K(2467328K)] 5217999K->3172824K(8059904K), 0.0837510 secs] [Times: user=0.30 sys=0.00, real=0.08 secs]
2023-01-19T08:41:15.535+0200: 74836.013: [GC (Allocation Failure) [PSYoungGen: 2413115K->17943K(2501120K)] 5379032K->2983989K(8093696K), 0.0627081 secs] [Times: user=0.17 sys=0.00, real=0.07 secs]
2023-01-19T08:41:21.018+0200: 74841.496: [GC (Allocation Failure) [PSYoungGen: 2224151K->15768K(2525184K)] 5190197K->2982585K(8117760K), 0.0722156 secs] [Times: user=0.17 sys=0.01, real=0.07 secs]
2023-01-19T08:41:29.668+0200: 74850.146: [GC (Allocation Failure) [PSYoungGen: 2257816K->270816K(2512896K)] 5224633K->3244056K(8105472K), 0.0822419 secs] [Times: user=0.34 sys=0.00, real=0.08 secs]
We have tried the solution mentioned here:
https://community.atlassian.com/t5/Jira-Software-questions/Garbage-Collector-Alllocation-Failure/qaq-p/1322269
which advised setting the -Xmx and the -Xms value to be the same. We made these parameters the same but the error still occurs and Jira crashes over time.
Any advice here would be greatly appreciated!!
Unfortunately only my company's TechOps department has access to adjust server side settings but what I do know is:
Java VM Memory:
Total Memory = 7915 MB
Free Memory = 3971 MB
Used Memory = 3944 MB
Jira Info:
Version = 8.5.5