Details
-
Suggestion
-
Resolution: Fixed
-
14
-
14
-
Description
Problem Definition
Default Java 8 has Tiered Compilation, so JDK HotSpot VM users can benefit from improved startup times with the server compiler.
Compiled JIT code is stored in Code cache and default CodeCache size is equal to 240MB. This is normally enough to middle size application.
In case of JIRA with large number of plugins, size of CodeCache is too small, that may lead to cache overflow and flush of the cache, which causes significant performance degradation.
See related KB: JIRA crashes due to CodeCache is full
Suggested Solution
Ship JIRA with larger CodeCache: 384m (or 512m)
Workaround
Edit bin/setenv.sh file and add to JVM_SUPPORT_RECOMMENDED_ARGS
-XX:ReservedCodeCacheSize=384m
Note on fix
Added the following options:
#
# The following specifies JVM code cache configuration. High value of reserved size allows JIRA to load more installed apps.
#
JVM_CODE_CACHE_ARGS='-XX:InitialCodeCacheSize=32m -XX:ReservedCodeCacheSize=512m'
Attachments
Issue Links
- is duplicated by
-
JRASERVER-67885 Ship Jira with increased CodeCache size
- Closed
- is mentioned by
-
PSR-111 Loading...
- Mentioned in