3

I have a very large Heap Dump (.hprof) file (16GB). When I try to open it in Visual Vm,the VM just hangs. I tried to open it in JProfiler. Jprofiler gave me a Out Of Memory error. Below is how my jprofiler.vmoptions looks like. What should be the ideal configuration, I should be using in order to open the HPROF without issues? I am running on a 8GB Linux box.

-Xmx1536m -XX:MaxPermSize=128m -Xss2m

TheMonkWhoSoldHisCode
  • 2,182
  • 3
  • 26
  • 40

1 Answers1

3

JProfiler 8.1 will be able to open much larger HPROF files without tuning the -Xmx VM parameter. To get a pre-release, please contact support@ej-technologies.

Ingo Kegel
  • 46,523
  • 10
  • 71
  • 102
  • Thnx Ingo for the answer. but is it possible to open larger files on smaller machines. so fundamentally, can I open a 16GB HPROF on a 8 G machine? My assumption is since it is a heap dump, so i would require a 16GB machine to open it up? – TheMonkWhoSoldHisCode Jul 10 '14 at 09:14
  • Ingo, I am using a licensed Jprofiler8. Am I eligible for 8.1 or there is a separate license fee for that? – TheMonkWhoSoldHisCode Jul 10 '14 at 09:23
  • 1
    Opening heap snapshots with larger heap sizes than local memory will be much better with JProfiler 8.1, although it may still take a long time. Your license key will work with 8.1. – Ingo Kegel Jul 10 '14 at 11:46