failed to import data from redmine to jira

Irina Fridlyand January 4, 2017
 
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
Irina Fridlyand January 4, 2017

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.  

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 4, 2017

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.

Suggest an answer

Log in or Sign up to answer