Forums

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

What is the maximum amount of memory you can assign to JIRA running as a Windows service ?

Andrew Morin
Contributor
December 18, 2011

What are the maximum amount of memory that can be allocated in the attached screenshot?

I just upgraded to 4.4.3 and JIRA was crashing on startup with the OutOfMemory error in the stderr log file.

1 answer

0 votes
JamieA
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.
December 18, 2011

Theoretical limit with 32-bit java, unless you have a special version compiled with /3GB, is 2GB. What's the actual error in the stacktrace, are you sure it's not running out of permgen? 1Gb heap should be enough unless you have a large jira instance.

Andrew Morin
Contributor
December 18, 2011

I cleaned the logs out this morning when I restarted JIRA but typically I would see whatever the last action JIRA was attempting to perform (always different) then I would see this 'Java.lang.OutOfMemoryError'

I have the PermGen set to 512MB. Can this be increased?

I have 4GB on the server and I "was" also running Confluence on the same server. I had to shut down Confluence to get JIRA back up and I am in the process of migrating Confluence to its own server.

Jo-Anne MacLeod
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.
December 18, 2011

You can increase it, but on a 32bit system you are restricted. I have not been able to allocate anymore than 1gb on a 32bit system. On a 64 bit system you can allocat a lot more. However, you should bear in mind that you don't want to over allocate the memory as it could also cause some performance problems.

How big is your system?

http://confluence.atlassian.com/x/lw4aDg

JamieA
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.
December 18, 2011

there;s different flavours of Java.lang.OutOfMemoryError, so having the full log message would help. I doubt you would need more than 256Mb permgen.

Andrew Morin
Contributor
December 18, 2011

My system is not to big. I have 17454 issues. A little over 100 users. 52 projects. I am running on a 64bit Windows 2008 R2 server with 4gb of memory. I have given the service 1024 and permgen 512. I also had Confluence running which as I mentioned I shut down to get JIRA back up. I have greenhopper and a couple of fisheye and subversion plugins installed. I plan on adding Tempo in the near future. I am hoping moving Confluence to a seperate server helps. I think I'll leave these settings as they are for the time being and if the issue comes up again I'll open a ticket with all of the appropriate logs. Thanks Jamie and Jo-Anne !! I wish that link you posted had more information regarding memory limits and side effects ...It tells you where and how just not "how much!!" (thats the page my day started on)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events