Issue upgrading Jira from 5.2.9 to 6.1.4

Following the instructions at

when executing the atlassian-jira-6.1.4.bin file:

1) I choose Upgrade existing Jira installation

2) It finds the correct Jira install directory

3) I type 'y' to backup Jira Home Directory

However, when "checking for local modifications" I get the following error:

List of modifications made within JIRA directories.

An error occurred:

java.lang.OutOfMemoryError: Java heap space

Error log: /usr/local/atlassian/install4jError3236897897978096157.log

java.lang.OutOfMemoryError: Java heap space

at java.util.Arrays.copyOf(Unknown Source)

at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)

at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)

at java.lang.AbstractStringBuilder.append(Unknown Source)

at java.lang.StringBuffer.append(Unknown Source)

at com.install4j.runtime.util.StringUtil.replaceVariable(Unknown Source)

at com.install4j.runtime.installer.InstallerVariables.replaceVariables(Unknown Source)

at com.install4j.runtime.installer.frontend.components.HtmlDisplay.getOrLoadText(Unknown Source)

at com.install4j.runtime.installer.frontend.components.HtmlDisplay.handleConsole(Unknown Source)

at com.install4j.runtime.beans.screens.InfoScreen.handleConsole(Unknown Source)

at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.handleScreen(Unknown Source)

at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.execute(Unknown Source)

at com.install4j.runtime.installer.controller.Controller$ Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$ Source)

at java.awt.EventQueue$ Source)

at Method)

at$1.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at Source)

Finishing installation ...

3 answers

I have increased the heap memory using the Jira specific directions directions found here:

I went up as high as 2GB, which would seem unnecessary with such a small install. However, this does not fix my problem. I'm still unable to upgrade, and am getting the same error at the same point in the process.

What is your database stats and machine specs? Are you on x64 OS and JIRA installer?

Machine Specs:

Virtual Machine


CentOS (64 bit)

Dual Core Intel(R) Xeon(R) CPU E5-2667 0 @ 2.90GHz

Specifically what database stats do you need?

I don't think this is a resource issue as Jira has been working quite snappy and without a hitch for some time now. I've done upgrades before and never had this issue.

Since it appears no one has encountered this, I will try using an alternate method of upgrading.

I was considering just doing a manual upgrade which would involve a fresh install to a new jira install directory pointed to a copy of the original jira home directory. I would connect the new Jira to an empty external database and then do a restore from an XML backup of the current Jira.

Does anybody see a downside to this beside that manual migration of the old Jira configuration?

Before I attempt a manual upgrade, would it be better to try to upgrade to an intermediate version of Jira (such as 6.0.1)? Could this be the problem?

Any help would be greatly appreciated. Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,885 views 19 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you