Browse Source

Add jhat example with larger memory limit.

Peter Tripp 9 năm trước cách đây
mục cha
commit
f8d9ee3a35
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      pages/common/jhat.md

+ 4 - 0
pages/common/jhat.md

@@ -9,3 +9,7 @@
 - Analyze a heap dump, specifying an alternate port for the http server:
 
 `jhat -p {{port}} {{dump_file.bin}}`
+
+- Analyze a dump letting jhat use up to 8GB RAM (2-4x dump size recommended):
+
+`jhat -J-mx8G {{dump_file.bin}}`