Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM_CODE_CACHE_ARGS not set #308

Closed
mojibake-umd opened this issue Nov 18, 2019 · 1 comment
Closed

JVM_CODE_CACHE_ARGS not set #308

mojibake-umd opened this issue Nov 18, 2019 · 1 comment

Comments

@mojibake-umd
Copy link

mojibake-umd commented Nov 18, 2019

According to upgrade notes for 7.13.x JVM_CODE_CACHE_ARGS should be set.
This option is missed because setenv.sh is delivered via ERB template.

I was able to work around this setting in Hiera.
jira::java_opts: '-XX:InitialCodeCacheSize=32m -XX:ReservedCodeCacheSize=512m -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory'

InterningDocumentFactory is another missing option, for which I will create a separate issue, #309 .

@oranenj
Copy link
Contributor

oranenj commented Apr 14, 2021

This is fixed in current master

setenv.sh.erb:JVM_CODE_CACHE_ARGS='-XX:InitialCodeCacheSize=32m -XX:ReservedCodeCacheSize=512m <%= @jvm_codecache_args %>'

@oranenj oranenj closed this as completed Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants