I’m using WM8.2 and I can see a lot of “java.lang.OutOfMemoryError: Java heap space” though, as I check the Statistics on the admin page, it says the IS has got 53% of free memory.
Error that shows every couple of seconds on server log is "Failed to insert cache entry at key XXXXXXXX; reason: “Java heap space”.
The Error log only shows the error related to the connection attempts I’ve made:
wm.server:connect
Java heap space
Caused by: java.lang.reflect.InvocationTargetException: null
Caused by: java.lang.OutOfMemoryError: Java heap space
How can there be such error and the Statistics show otherwise ?
In general, when such issue occurs, I can’t even log to the admin page, but this time, I can. How weird is that ?
I agree with you that statistics should not show that figure when IS is displaying ‘OutOfMemory error’.
What’s your memory settings?
What’s your fix levels?
Looks like you have a memory leak somewhere, check the running services and take a thread dump and do analysis.
Since you’re using Terracotta for IS clustering, which means it runs as standalone server. According to the error message, it seems an Terracotta error, maybe you could try alloc more memory for it.