OutofMemory Errors while running backup.sh on large repository

(Doc ID 1025581.1)

Last updated on JANUARY 15, 2016

Applies to:

Oracle Java CAPS - Version 5.1.2 and later
Information in this document applies to any platform.


Encountering the following exception when running the repository backup script, backup.sh, against a large repository (greater than 5GB):

Total time to load resource is : 1740
Exception in thread "main" java.lang.OutOfMemoryError
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:204)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at com.stc.repository.utilities.ExImUtil.exportFile(ExImUtil.java:116)
at com.stc.repository.utilities.ExImUtil.main(ExImUtil.java:309)



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms