Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Increasing JVM memory results to Jira service unable to restart

Erwin Manuel
Contributor
March 5, 2012

Hi,

We are able to increase JVM memory using: http://confluence.atlassian.com/display/JIRA/Increasing+JIRA+Memory

However, when we try to increase memory higher that 1280MB. Jira service is not able to restart anymore.

Is there any workaround for this? Thanks in advance

4 answers

1 vote
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2012

You will not be able to give more than 1.3G heap on 32bit windows. If you use Linux, you can likely allocate upto 3G. If you must stay with windows, as Jobin says, you'll need 64bit windows.

Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2012

Bear in mind that this is normal heap we're talking about.

32 bits: -Xmx should be max 1460m

Linux: you need to enable hugemem to reach 4Gb processes (1Gb is used for mapping and max heap that can be allocated is around 2.5Gb)

0 votes
Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2012

Hi,

we have the same problem (Win 2003 server - 64bit, 6GB RAM, JIRA 4.4, bundled Tomcat) - unable to change default JVM memory size to JIRA service. After change from xms128m/xmx512m to xms512m/xmx1024m JIRA not able to start.

Yet not found correct solutions and reason of the problem, the only thing that partially help, was increase windows page file size. After it we can increase xmx to 1024m, but change of xms still leads to error.

Erwin Manuel
Contributor
March 5, 2012

Are you already running on 64bit JDK? I have not yet tried out the solution they suggest.

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2012

If you change memory settings and find JIRA console telling you nothing changed, what you did wasn't doing what you thought.

Just a hunch but Id guess the service config doesnt have the correct values, you have to uninstall, update config, reinstall service to make it stick (or hack registry).

Radek Kantor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2012

It runs on bundled java in Tomcat. Values have changed - according JIRA start log file, but after start system has immediately shut down. We try both methods, change service setting and also configure it by registry. Could try service reinstall.

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2012

You probably need to look at the link you posted, check service details.

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2012

Are you using 32 bit JDK? If so, that explains it. Try to switch to 64 bit JDK and the problem will go away.

0 votes
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2012

Can you supply the tomcat catalina logs and/or confluence logs showing JIRA not starting?

Also, how much memory is free on that machine before starting JIRA?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events