Solved

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

Posted on 2014-07-18
9
698 Views
Last Modified: 2014-10-07
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
0
Comment
Question by:rpremuz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 40205565
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.
0
 

Author Comment

by:rpremuz
ID: 40206368
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
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 40206579
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/
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

Author Comment

by:rpremuz
ID: 40206727
I tried JRE 7u40 but it also crashed at start. I'm attaching the error log.
hs-err-pid5748.log
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 40206736
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....
0
 
LVL 35

Expert Comment

by:girionis
ID: 40209265
What if you go to an even earlier version? Does it help? Can you try java 1.6?
0
 

Author Comment

by:rpremuz
ID: 40210061
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.
0
 

Accepted Solution

by:
rpremuz earned 0 total points
ID: 40358208
Today I successfully installed JRE 7u67 on that server and it is working fine:

C:\>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing)

Open in new window


Since my last post I only installed available Microsoft updates for Windows Server 2003. Go figure!

Case closed.

-- rpr.
0
 

Author Closing Comment

by:rpremuz
ID: 40365551
I found the solution myself - installing the latest version of Java RE.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question