nils.ottosson Posted August 10, 2017 Share Posted August 10, 2017 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 Link to comment Share on other sites More sharing options...
Solution vchiem Posted August 11, 2017 Solution Share Posted August 11, 2017 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-occur-during-import-huge-repository-linux-os Link to comment Share on other sites More sharing options...
nils.ottosson Posted August 14, 2017 Author Share Posted August 14, 2017 It solved, thx. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now