Applying Patch - GC overhead limit exceeded

Error:

When applying a ptach, we are receiving the following message

Server@609a18a0]: Server socket opened successfully in 0 ms.

[Server@5954864a]: Initiating shutdown sequence...

Exception in thread "HSQLDB Server @5954864a" java.lang.OutOfMemoryError: GC overhead limit exceeded

at sun.nio.cs.UTF_8.newDecoder(Unknown Source)

at java.lang.StringCoding$StringDecoder.<init>(Unknown Source)

at java.lang.StringCoding$StringDecoder.<init>(Unknown Source)

 

 There's nothing running on the server at this time

 

Cause:

The size of your embedded database is fairly large, causing the patch application process to run out of memory

 

Solution:

Increase the memory in Apply-RecoverPatch script file

1) Navigate to the extracted patch location

2) Open the Apply-RecoverPatch script (.bat for Windows and .sh for Linux) in a text editor

3) Increase the java memory settings

Old

java -Xms256M -Xmx512M

 

New

java -Xms1024M -Xmx2048M

Note: Make sure your system has enough memory available to apply these settings

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.