- How to analyze PermGen contents?
- Analyze PermGen
- Visual VM: Monitor, profile, take thread dumps, browse heap dumps
- Find memory leaks in Tomcat
> ps -fu <user>
UID PID PPID C STIME TTY TIME CMD
42377 5012 21158 0 17:22 pts/0 00:00:00 ps -fu <user>
42377 12788 1 1 09:44 ? 00:04:35 /opt/java/bin/java <....> org.apache.catalina.startup.Bootstrap start
42377 21153 21123 0 16:21 ? 00:00:00 sshd: <user>@pts/0
42377 21158 21153 0 16:21 pts/0 00:00:00 -bash
> jmap -heap:format=b 12788