I have raised an SR for this. From which i received a mail saying....(below)........ so posted the query here.
I have reviewed the information you provided in SR-A15681. This request falls outside the scope of work supported by GCS. Questions about how to design, develop, or debug custom applications and similar types of questions are best addressed by posing a question to the Product Support Community.
The Product Support Community is a place where Pegasystems architects, developers, and administrators may pose questions and interact with one another in a dynamic community. It is a great place to seek solutions to problems, and to share ideas. To access the Product Support Community please use this link: https://mesh.pega.com/community/pegaproductsupport
I will proceed with closing this SR based on the information I have provided.
sounds like your heapdumps were triggered by out of memory event. You should send the dumps through pegalft and create a SR for GCS to review the possible root causes. FYI, the JVM normally generates heapdumps (if configured in JVM arguments) due to out of memory error. This is built in in all modern JVMs, not a feature from Pega.