Reading HPROF files
I was reading Knowledge Document KM1313078 on how to read HPROF files following an Out of Memory error.
Does anyone know how to configure the Eclipse Memory Analyzer to run on WIndows? I get an error stating that I do not have a JRE installed in the same location as the Memory Analyzer Tool. I have a JRE installed on my computer so am trying to figure out where to install it at.
Also, Does Eclipse need to be installed as well?
Any help would be appreciated.
You can double-check that you have the JAVA_HOME environment variable defined and pointing to your JRE/JDK root folder (mine is defined as: JAVA_HOME=C:\Java\jdk1.7.0_04 ).
Another option is to pass the path to the VM as a startup parameter, but you need to include the bin subfolder in the path: MemoryAnalyzer.exe -vm <path_to_jdk>\bin
So with my java installation, that would become: MemoryAnalyzer.exe -vm C:\Java\jdk1.7.0_04\bin
Don't forget to use quotes if you have spaces in your path.