Assess Root Cause
Determine JIRA usage patterns
To determine the JIRA usage patterns:
Choose Administration at the top right of your screen. Then choose System > Troubleshooting and Support > System Info (tab) to open the 'System Info' page. Then scroll down the page to view the Java VM Memory Statistics section and look at the memory graph during times of peak usage:
sysinfo.png
This server has been allocated a maximum of 768 MB and a minimum of 256 MB (typically defined in the setenv
script which is executed by running the start-jira
script). If you are trying to see whether your settings are being picked up by JIRA, this is where to look. Here, you can see that JIRA has reserved 742 MB, or which 190 MB is actually in use. If this JIRA instance were running out of memory, it would have reserved the maximum available (768 MB), and would be using an amount close to this.
利用可能なシステム メモリの決定
From the Close Programs Dialogue (Press ctrl-alt-delete), select the Performance tab:
winmem.png
The amount marked Available is the amount in kilobytes you have free to allocate to JIRA. On this server we should allocate at most 214 MB.
cat /proc/meminfo
を実行してメモリ使用量を表示します。
サーバーで利用可能な容量を超えて -Xmx を設定すると、物理メモリ不足から OutOfMemoryErrors が発生する可能性があります。これが発生した場合、スワップ容量が使用され、パフォーマンスが大幅に低下します。
ガイダンス
As a rule of thumb, if you have fewer than 5000 issues, JIRA should run well with the default 768 MB. Granting JIRA too much memory can impact performance negatively, so it is best to start with 768 MB and make modest increases as necessary. As another data point, 40,000 works well with 768 MB to 1 GB.