equal
deleted
inserted
replaced
184 |
184 |
185 Dump current thread traces and memory statistic to stdout:: |
185 Dump current thread traces and memory statistic to stdout:: |
186 |
186 |
187 $ kill -QUIT $PID |
187 $ kill -QUIT $PID |
188 |
188 |
|
189 Creating heap dump from Java application. |
|
190 ========================================= |
|
191 |
|
192 Find pid of Java process:: |
|
193 |
|
194 $ jps -l -v |
|
195 |
|
196 Save dump to file:: |
|
197 |
|
198 $ jmap -dump:format=b,file=heap.dump $PID |
|
199 |
189 Debug class loading. |
200 Debug class loading. |
190 ==================== |
201 ==================== |
191 |
202 |
192 To dump class loading and unloading to ``System.out`` add to ``java`` opts:: |
203 To dump class loading and unloading to ``System.out`` add to ``java`` opts:: |
193 |
204 |