Java - java.lang.OutOfMemoryError: GC overhead limit exceeded
Solution:
The java max memory we have is set to 1800MB and our process is needing more memory for some reason today (might be linked to market being volatile)
Could you help to increase .
C:\lps\UnityRisk-RiskEngine\scripts\java64.cmd
from
set JAVA_MAX_MEMORY=1800
to
set JAVA_MAX_MEMORY=2600
looks like the overall machine should still have some room for memory but we need to rebalance the processes.
Error log:
[2020-03-09 10:25:03,715] [HKGWSD00109] [running] [WrapperSimpleAppMain] ERROR app.RiskEngineAppMain Could not initialise application
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOf(Arrays.java:3236)
at java.lang.StringCoding.safeTrim(StringCoding.java:79)
at java.lang.StringCoding.encode(StringCoding.java:365)
at java.lang.String.getBytes(String.java:941)