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.