Link to home
Start Free TrialLog in
Avatar of rpremuz
rpremuzFlag for Croatia

asked on

java crashes with "fatal error: os::release_memory failed"

Hi!

On a MS Windows Server 2003 SP2 32-bit, java.exe crashes at start:

C:\>java -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (virtualspace.cpp:125), pid=4488, tid=4496
#  fatal error: os::release_memory failed
#
# JRE version:  (7.0_65-b19) (build )
# Java VM: Java HotSpot(TM) Client VM (24.65-b04 mixed mode windows-x86 )
# Core dump written. Default location: C:\\hs_err_pid4488.mdmp
#
# An error report file with more information is saved as:
# C:\\hs_err_pid4488.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

Open in new window


I'd say this started with JRE 7.0_55-b14 and I know Java worked earlier on that server. JRE installation was fine. What could cause this crashing?

I'm attaching the error log and memory dump.

-- rpr.
java-log.zip
Avatar of Davis McCarn
Davis McCarn
Flag of United States of America image

Start by going to the Java applet in the control panel, click the settings button below Temporary Internet Files, click the Delete Files button, make sure you check the box for Installed Applications and Applets, and then OK.  When its done, back out and reboot the server.
If the problem still persists, post back.
Avatar of rpremuz

ASKER

Davis,

I can't start the Java applet in Control Panel - it also crashes. After I try to start it a log and a dump file are created in "C:\Program Files\Java\jre7\bin\". I'm attaching the log file.

-- rpr.
hs-err-pid2064.log
One thread I ran into said that server 2003 had issues with Java newer than 7U40.
Uninstall Java in a Add or Remove Programs and, if you really must have Java (most don't need it anymore), you can get 40 here: http://www.filehippo.com/download_jre_32/15926/
Avatar of rpremuz

ASKER

I tried JRE 7u40 but it also crashed at start. I'm attaching the error log.
hs-err-pid5748.log
Might I ask what you need Java for?

Personally, I disable IE for everyone except the Administrator because cruising on a server is just way too dangerous these days....
What if you go to an even earlier version? Does it help? Can you try java 1.6?
Avatar of rpremuz

ASKER

After a closer look at the system I've found out that it already has several versions of Java embedded with some services. They all work fine - here are the outputs I get in the Command Prompt:

C:\>"C:\Program Files\3ware\_jvm\bin\java.exe" -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)

C:\>
C:\>"C:\Program Files\APC\PowerChute Business Edition\jre142_11\bin\java.exe" -version
java version "1.4.2_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)

C:\>
C:\>"C:\Program Files\MATLAB\R2014a\sys\java\jre\win32\jre\bin\java.exe" -version
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) Client VM (build 23.6-b04, mixed mode)

Open in new window

So, it seems that only newer versions of JRE 7 crash.

-- rpr.
ASKER CERTIFIED SOLUTION
Avatar of rpremuz
rpremuz
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rpremuz

ASKER

I found the solution myself - installing the latest version of Java RE.