failed to import data from redmine to jira

 
failed to import data from redmine  jira-core jira jira-administration

>java.lang.OutOfMemoryError: Java heap space

That's a classic - it really does mean what it's says, the system has run out of memory.  Two possible approaches - give it more memory (change the value for JVM_MAXIMUM_MEMORY in setenv.sh), or try to import less data in one go.

Accept
Upvote
 
In reply to
Irina Fridlyand

I was executing data import from redmine using redmine export pluggin.  I was exporting data for 6 projects, with dependency between projects.  The process was running for over 4 hours, when suddenly, got the following error in the log: 

2017-01-03 17:23:38,975 INFO - Import started by irinaf using com.atlassian.jira.plugins.importer.redmine.RedmineDataBean
2017-01-03 17:23:38,984 INFO - ------------------------------
2017-01-03 17:23:38,985 INFO - Importing: Users
2017-01-03 17:23:38,985 INFO - ------------------------------
2017-01-03 17:23:38,985 INFO - Only new items will be imported
2017-01-03 21:18:00,257 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state
java.lang.OutOfMemoryError: Java heap space
2017-01-03 21:26:00,349 INFO - No issues need to be reindexed.

This is not very informational in diagnosing the problem.  Any recommendations? 

 

 

in response to this we increased memory, and after 6 hours of processing I received the error that's attached: jira_import_error.jpg

 

these are a few lines from the log: 

 

017-01-04 19:31:57,625 INFO - Importing issue: [externalId='41981', summary='[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes']
2017-01-04 19:31:57,626 INFO - Ignoring empty [  ] for CustomField Product: Aspect in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,626 INFO - Ignoring empty [  ] for CustomField QA Priority in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,626 INFO - Ignoring empty [  ] for CustomField Planning Category in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,626 INFO - Ignoring empty [ null ] for CustomField Planned in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,626 INFO - Ignoring empty [ null ] for CustomField Production Incident in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,626 INFO - Ignoring empty [ null ] for CustomField Product: Category in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,627 INFO - Ignoring empty [ null ] for CustomField DB Task in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,627 INFO - Ignoring empty [ null ] for CustomField Testing Environment in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,627 INFO - Ignoring empty [  ] for CustomField Risk in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,627 INFO - Ignoring empty [ null ] for CustomField Build Version in Issue '[FIX_SEF][PTC] QuoteID (117) on QuoteResponse maps incorrectly for repriced quotes'
2017-01-04 19:31:57,740 WARN - Commenter named ioanaa not found. Creating issue with currently logged in user instead

 

even though the error msg states no issues were imported, out of 6 project 1 was imported. 

 

Please aedvise.  The error is not really meaningful, sounds more like normal exception handling. 

 

2 answers

0 votes

I'm not sure why you deleted the original question it had better information on it if memory serves.

I have to question the volume of data you are importing, how much have you got in Redmine?  The last time I did a Redmine import, it was a few minutes for thousands of issues, so 6 hours seems like it might be a massive import.  If it's not massive, then there's something else iffy in there chewing up the process.

I accidentally deleted original ticket by accident. 

I have 35000 issues to import across 6 project.  I'd like to import all of them simultaneous to preserve cross dependency.  

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

61 views 0 5
Join discussion

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