From f8d9ee3a3508845bfc4f8b2a58941ea5cf2f8f89 Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Tue, 16 Feb 2016 16:32:26 -0800 Subject: [PATCH] Add jhat example with larger memory limit. --- pages/common/jhat.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/jhat.md b/pages/common/jhat.md index d5ff16815d..4cc4c71960 100644 --- a/pages/common/jhat.md +++ b/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}}`