Question
Cognizant Technologies Solutions US
CA
Last activity: 4 Mar 2021 3:18 EST
Memory Leak - v8.4.2
Hello team,
we are seeing the below exception while graceful shutdown... Does this indicate a memory leak?
someone in StackOverflow said it due to the Memcached server memory was full (as we know Pega uses IMDG "Hazelcast") this issue surface. Once we recycle Memcache server it will get fixed ( this might be JVM recycle). But, how can we verify issue coming from hazelcast.. if so how can this be fixed?
We have seen JVM went down due to OOM exception is this due to hazelcast filling memory.
SEVERE [xxxxxxx-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [xxxx] created a ThreadLocal with key of type [com.hazelcast.query.impl.GlobalQueryContextProviderWithStats$1] (value [com.hazelcast.query.impl.GlobalQueryContextProviderWithStats$1@5fdf0750]) and a value of type [com.hazelcast.query.impl.GlobalQueryContextWithStats] (value [com.hazelcast.query.impl.GlobalQueryContextWithStats@3b92bcb2]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.