Hello all,
I only have 2Gb RAM available on my server
requierements says :
Memory | 500MB – 1GB of Java heap size is enough for most evaluation purposes. |
---|
I tried many solution to reduce JIRA memory even if it get slower :
export CATALINA_OPTS="-Xms256m -Xmx512m"
JVM_MINIMUM_MEMORY="384m"
JVM_MAXIMUM_MEMORY="512m"
JVM_EXTRA_ARGS="-XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m"
Also desperate I tried :
MaxPermGen where JIRA 7.2.6 is java and this parameter is deprecated. (not working )
my ps -ef gives :
atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/home/jira/atlassian/jira/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms384m -Xmx512m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -Datlassian.plugins.enable.wait=300 -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Xms256m -Xmx512m -Djava.endorsed.dirs=/home/jira/atlassian/jira/endorsed -classpath /home/jira/atlassian/jira/bin/bootstrap.jar:/home/jira/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/home/jira/atlassian/jira -Dcatalina.home=/home/jira/atlassian/jira -Djava.io.tmpdir=/home/jira/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start
but the Memory of 1520 is never going down :
2016-12-29 02:46:42,627 JIRA-Bootstrap INFO [c.a.jira.startup.LauncherContextListener] Memory Usage:
---------------------------------------------------------------------------------
Heap memory : Used: 342 MiB. Committed: 495 MiB. Max: 495 MiB
Non-heap memory : Used: 218 MiB. Committed: 238 MiB. Max: 1520 MiB
---------------------------------------------------------------------------------
TOTAL : Used: 561 MiB. Committed: 733 MiB. Max: 2015 MiB
---------------------------------------------------------------------------------
Any idea ? What is the 1520MB used for ?
Regards,
Hi MATTHIEU,
1520 MiB is maximum allowed for non-heap memory and used is 218 MiB. As far as I know you can not limit non-heap memory. Citing from stackoverflow:
Non-heap memory is all the memory the JVM allocated for purposes other than the heap. This includes:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.