The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Error exporting Insight Object Schema

Lance Li
April 17, 2023

When trying to export Insight Object Schema, I got this error below from the log:

2023-04-18 01:45:48,568 [Thread-14127] | Error when exporting object schema and objects, object schema id: 1, Error: null
java.lang.OutOfMemoryError
at java.base/java.io.FileOutputStream.writeBytes(Native Method)
at java.base/java.io.FileOutputStream.write(Unknown Source)
at java.base/java.io.ByteArrayOutputStream.writeTo(Unknown Source)
at com.riadalabs.jira.plugins.insight.services.imports.schema.ObjectSchemaExportServiceImpl.writeContentsToZipFile(ObjectSchemaExportServiceImpl.java:646)
at com.riadalabs.jira.plugins.insight.services.imports.schema.ObjectSchemaExportServiceImpl.exportSchemaToServerAsync(ObjectSchemaExportServiceImpl.java:257)
at com.riadalabs.jira.plugins.insight.services.imports.schema.ObjectSchemaExportServiceImpl.lambda$exportSchemaWithObjectsToServer$0(ObjectSchemaExportServiceImpl.java:206)
at java.base/java.lang.Thread.run(Unknown Source)
2023-04-18 01:45:48,570 [Thread-14127] | Insight log directory: /var/atlassian/application-data/jira/log
2023-04-18 01:45:48,575 [Thread-14127] | Done exporting object schema and objects, object schema id: 1

But it worked last week, and from the error, there's no useful information. May I know if anyone has an idea on what the issue is and how to get it fixed? Thanks.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Charlie Misonne
Community Champion
April 18, 2023

This is an out of memory error. Jira basically does not have enough memory to perform the export you want to do.

Maybe it worked in the past. Perhaps the load on Jira is higher when you tried again or the export can be larger than last time it worked.

Ask your Jira system administrator to look at the memory settings of Jira (XmX parameter) and see if it can be increased.

Lance Li
April 18, 2023

Thanks, Charlie. We have 12GB memory allocated, not sure why it happened. Maybe Jira was doing some backend stuff and used most of the memory when I tried the export task. I tried it again this morning and it worked.

TAGS
AUG Leaders

Atlassian Community Events