js-import on jasperserver 6.4

0

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: 1 week 1 day ago

2 Answers:

0

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-...

 

vchiem's picture
102
Joined: May 1 2017 - 5:33pm
Last seen: 9 hours 12 min ago
0

It solved, thx. 

nils.ottosson's picture
Joined: Oct 7 2015 - 6:29am
Last seen: 1 week 1 day ago
Feedback
randomness