Solved

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

Posted on 2014-07-18
9
710 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
Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

 

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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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…
The viewer will learn how to implement Singleton Design Pattern in Java.

695 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