Failed to export site: java.lang.OutOfMemoryError: GC overhead limit exceeded

607
2
09-06-2021 12:34 AM
Labels (1)
Stefan_Jung
Esri Contributor

Hi,

we are running into a very strange issue when exporting the Portal for ArcGIS Site. The Portal crashes and the Portal log has the following error message:

 Failed to export site. Das Portal-Repository konnte nicht exportiert werden. java.lang.OutOfMemoryError: GC overhead limit exceeded  

("The Portal Repository cannot be exported")

The corresponding error message can also be found in the tomcat log of the Portal instance:

 SEVERE [https-jsse-nio2-7443-exec-42] com.sun.jersey.spi.container.ContainerResponse.mapMappableContainerException The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container

    java.lang.OutOfMemoryError: GC overhead limit exceeded

The Portal does contain a lot of elements and more than 100GB in the content directory that needs to be exported. Maybe the export is creating too many temporary files and the garbage collector needs all available resources?

 Does anyone has an idea how to solve this issue?

Best,

Stefan

0 Kudos
2 Replies
JonathanQuinn
Esri Notable Contributor

Where is your content located? Is it on the file system, or is it in cloud storage? What version are you using?

0 Kudos
Stefan_Jung
Esri Contributor

Hi @JonathanQuinn ,

the ArcGIS Enterprise Version 10.8.1 is a completely disconnected environment. The content is located on a file share.

Best,

Stefan

 

0 Kudos