#Take #HeapDump #Analyze #HeapdumpFile
Take HeapDump and Analyze the file by VmVisual ► SUBSCRIBE & LIKE!!
► Official Email Id: [email protected]
► Download the Code GitHub : https://github.com/admindebu
► Follow on Facebook: https://www.facebook.com/TechTalkDebu
► Follow on LinkedIn: https://www.linkedin.com/in/debu-paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
► Here is our amazing playlist for Core Java, Spring MVC/Boot, Git and Micro service
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Core Java :: https://www.youtube.com/watch?v=IR_h0okI_eU&list=PLRlT3yKdok6o5pLrr74SdpRI0ZV-KbGOl
2. Spring MVC & Spring Boot :: https://www.youtube.com/watch?v=f-Wk1t8Cfio&list=PLRlT3yKdok6rFd0_O6-lpuIrNwFgxP_b8
3. Micro Service :: https://www.youtube.com/watch?v=pscyaLdGtnI&list=PLRlT3yKdok6r_6j4Y0R75TP4WiiaT21K7
4. Git/GitHub :: https://www.youtube.com/watch?v=XHxBAyEnl4E&list=PLRlT3yKdok6ojVpar7ImPHZ6JbSy6Lnj7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Watch my "Most Watched Videos"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
► HTTPS & HTTPS protocol :: https://www.youtube.com/watch?v=BlnSSD0Vw98&list=PLRlT3yKdok6ovZ3BGGM3eanawiNUOcrWz
Playlist : https://www.youtube.com/watch?v=CFoxrsEdo-w&list=PLRlT3yKdok6pLwhX58LwNBcsqGl_K206b Tutorial for beginners with examples, Interview Questions and Concepts.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Code Base & Info
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
heap dump whenever an OutOfMemoryError occurs.
The -XX:+HeapDumpOnOutOfMemoryError option can be added to generate a heap dump on OutOfMemoryError. By default, the heap dump is created in a file called java_pid pid .hprof in the working directory of the VM, but we can set an alternative path using the JVM option -XX:HeapDumpPath=path.
Using a jmap & jcmd tool available with JDK
Find Java process ID
1. Windows Task Manager
2. Linux Below command
ps –ef | grep java
jmap -dump:live,format=b,file=heap.bin "pid"
heap dump file extension : .hprof
jmap -dump:live,format=b,file=heap.bin "pid"
"pid" can be replaced with the process id of the application.
Example : jmap -dump:live,format=b,file=C:\heapDump\heapDUmp.hprof 6336
Doanload link for VisualVm Application : https://visualvm.github.io/download.html