Question

1
Replies
24
Views
Close popover
Sreecharan Babu Challagundla (SREECHARAN)
Cognizant Technologies Solutions US
Pega Infra Build, Admin & Migration
Cognizant Technologies Solutions US
US
SREECHARAN Member since 2011 24 posts
Cognizant Technologies Solutions US
Posted: March 4, 2021
Last activity: March 4, 2021

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.
Pega Platform 8.4.2 System Administration Upgrades System Administrator