Try to import a export file (size 460M) to a new server.
Runing the following command: ./js-import.sh --input-zip <file_path>
Get the following error
-- JasperServer: ProfileAttributeCacheImpl shutdown called. This normal shutdown operation.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3236)
at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
have try change the Xms size on js-import.sh file and import-export.xml-file.
I dose not help
1 Answer:
Please see this article which refers to the -Xmx parameter across 3 files.
https://community.jaspersoft.com/wiki/how-fix-java-heap-space-error-may-...
It solved, thx.