Forums

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

JIRA Memory Heap Size what values to use? jira slow!

syed peeran March 13, 2013

Currently jira is starting with -XX:MaxPermSize=256m -Xms2048m -Xmx2048m values and we are experiencing EXTREME SLOWNESS in accessing jira and have to bounce it

Please let me know the recommended values to use?

Thanks

Syed

Electric Cloud

Sunnyvale CA

5 answers

1 accepted

4 votes
Answer accepted
Harry Chan
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 14, 2013

Hi, tuning JIRA and any Java web application isn't as simple as increasing the memory. I would definitely look at where the bottleneck is and why is it slowing down.

Was it fast before?

When did it started happening? Has anything changed? It could be a plugin.

Do you see any errors in the logs? Often performance issues are caused by certain errors.

Is the response time slow or the page loading speed?

What version of Java are you running? It might be a good idea to update it to the latest that your version of JIRA supports.

Have you optimized you instance such as turning on compression and caching?

Is it the database or the hardware that is having issues here? Metrics need to be collected.

Before you take in any advice from here -- check out what the problem is. Any random changes could make matters worse.

vkharisma
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 14, 2013

+1 to Harry. Increasing the memory without proper reason will likely create more harm than good. You will need to find out what is the culprit of the performance behaviour.

As a general guideline, you may refer to the following pages:

Performance Issues Troubleshooting

JIRA Performance Tuning

0 votes
Sandeep Nagaraja April 24, 2015

Does the value for 'initial Memory Pool' and 'Maximum Memory Pool' in the Java settings should be same ?

Harry Chan
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.
April 24, 2015

Same say it matters. Same say otherwise. You'll have to benchmark it. I've seen huge variances. It doesn't have to be.

0 votes
syed peeran March 21, 2013

modified parameters working fine

0 votes
Davet
Contributor
March 13, 2013

Heap memory size is a bit counter-intuitive.

The rule of thumb is to reduce it until you get "out of memory" messages and increase it a trifle.

If you increase the heap size too much then "Garbage Collection" can take too long and you may see the slowness you are referring to.

Having said that there are plenty of other factors that could be responsible.

Like the OP, I have no trouble running at 1024

syed peeran March 13, 2013

the ram is 3.7 gigs

syed peeran March 17, 2013

In our case we do NOT want to increase the heap memory but to reduce it as high memory will slow it down I just need recommended values

syed peeran March 19, 2013

seems okay now changed parameters to -XX:MaxPermSize=256m -Xms1024m -Xmx1024m

Like Евгений Баев likes this
0 votes
codelab expert
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 13, 2013

Are you running 32 bit or 64 bit version of jira? We are running 64 bit and use 1024m for xms and xmx. Please do reindexing.

codelab expert
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 13, 2013

ok. How big is your RAM

syed peeran March 13, 2013

I am guessing it is 64 bit as the linux is 64 bit

codelab expert
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 13, 2013

3.7 GB? Then 1024m will be ok for you. Higher values will slow down yo

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events