Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Memoryanalyzer.exe won't boot after editing .ini file
Memoryanalyzer.exe won't boot after editing .ini file [message #1823713] Tue, 31 March 2020 14:33 Go to next message
Lore Ungaro is currently offline Lore UngaroFriend
Messages: 1
Registered: March 2020
Junior Member
Hi all,

Context:

I have a Win10 machine.
Output of java commands:

java -d32 -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) Client VM (build 25.151-b12, mixed mode)

java -d64 -version
Error: This Java instance does not support a 64-bit JVM.
Please install the desired version.

I've downloaded MemoryAnalyzer x86.
I've started it successfully.

Working MemoryAnalyzer.ini file:

-startup
plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.700.v20180518-1200
-vmargs
-Xmx1024m

The issue:

I'm trying opening a dump .hprof file.
Error:

An internal error occurred during: "Parsing heap dump from 'C:\Users\<censored>\heap memory dump\dump.hprof'".
Java heap space

I've tried editing the .ini file to:
-Xmx2048m

Saved and quit. Tried restarting the program: nothing happens. No program starts up.

I've checked here:
https://wiki.eclipse.org/MemoryAnalyzer/FAQ#Out_of_Memory_Error_while_Running_the_Memory_Analyzer

and edited the .ini as suggested. Saved and quit. Tried restarting the .exe, same issue.
Tried starting it via cmd: same issue. Cmd loops for a while, finally the command ends, but no program start-up.
If I open task manager, I can see the MemoryAnalyzer.exe process appearing for a split second in the "Details" tab, then it disappears.

If I revert the changes back to the original 1024 value, save and quit, I can start MemoryAnalyzer.exe.

What could this be and any ideas how I can get past it?

Thank you.
Re: Memoryanalyzer.exe won't boot after editing .ini file [message #1823970 is a reply to message #1823713] Sun, 05 April 2020 09:27 Go to previous message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
I think this is a fairly simple problem - the 32-bit JVM cannot run with a heap of 2048MB.
Try:
java -d32 -Xmx2048m -version

and see if that fails.

Assuming you have a 64-bit Windows 10 machine I would recommend getting a 64-bit JVM e.g. from https://adoptopenjdk.net/releases.html and the Windows 64-bit version of Memory Analyzer.

Previous Topic:MAT Heap Dump Comparison Algorithm
Next Topic:DTFJ Error Opening Core Dump
Goto Forum:
  


Current Time: Thu Apr 25 04:23:38 GMT 2024

Powered by FUDForum. Page generated in 0.02763 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top