Windows successfully diagnosed a low virtual memory condition due to tomcat
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Windows is reporting a low virtual memory condition for the Jira Tomcat process:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: tomcat8.exe.x64
Environment
Jira running in a virtual Windows environment.
Diagnosis
- Slow page loading or other performance issues.
- Repeated low virtual memory conditions reported on the Windows Event Viewer.
- High percentage of swap space used which can be found in the
<total-swap-space>
and<free-swap-space>
in the Support Zip.
Cause
Java will use more RAM outside of the allocated heap as outlined in Run Jira Server in a virtualized environment. Excessive memory overcommitment can cause the OS to read/write memory to disk which can introduce performance issues.
Solution
A number of steps can be taken to resolve this behavior:
- Review the Jira applications installation requirements and heap usage to increase the Jira application memory by small amounts (256mb) to verify if the problem is still occurring.
- Repair Windows system files.
- Increase the minimum page size of the paging file.
If the issue persists after taking these steps, please reach out to Atlassian Support with a Support Zip from your environment.