js-import on jasperserver 6.4

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  

nils.ottosson's picture
Joined: Oct 7 2015 - 6:29am
Last seen: 2 years 5 months ago

1 Answer:

Please see this article which refers to the -Xmx parameter across 3 files.  



vchiem's picture
Joined: May 1 2017 - 5:33pm
Last seen: 5 days 17 hours ago

It solved, thx. 

nils.ottosson - 5 years 7 months ago