You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.