In few circumstance, our application is using around 12 GB of memory. We tried to get the heap dump using jmap utility. Since the application is using some GB of memory it c
To add to Stephen's answers, you can also trigger a heap dump via API for the most common JVM implementations: