Out of memory IBM WAS

Posted on 2010-08-18
Last Modified: 2013-12-11
We are running into out of memory issue on WAS 6, so we started monitoring the web sphere and heres what we found. The heap size remains very steady while the used memory fluctuates between 60 and 90%. java.exe process in windows task manager consume increaeses from 400 mb in the morning to  1.8 GB memory in the evening.   we are on 32 bit OS.

java.exe keeps on consuming more memory and cpu  never comes down is it a normal behaviour and is it accurate information. If not normal then what could be the cause. After we restart the WAS Service in the morning the memory usage is around 400 mb ..towards the end of  the day java.exe memory consumption reaches upto 1.8 GB work around is to restart the WAS service. please help experts why Java.exe is consuming too much memory and cpu , the best approach to solve this issue.
Question by:STEVE00098

Expert Comment

ID: 33464523
What version of Java are you running?
LVL 23

Expert Comment

ID: 33464590
It appears to me that there is memory leak. You should profile your
application to find out the areas where the memory is not de-referenced.
LVL 16

Expert Comment

ID: 33465479
Try this to monitor your memory usage
According to me it's memory leak.
I suppose it's a web application, try to simulate somehow a lot of users logged on, then logged out.
If the sessions are gone, then something else keeps reference to the objects previously kept in the sessions...?!
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.


Expert Comment

ID: 33465787
Best way to diagnose the problem with Memory Dump Diagnostic for Java this tool is used by ibm support. using this tool you can find out large amounts  of object when you have out of memory

Diagnosing out-of-memory errors and Java heap memory leaks

Accepted Solution

AdminRAM earned 500 total points
ID: 33465828

You can check the following link it applicable for WAS.

IBM WebSphere Portal Version 6.1 Tuning Tips

Author Comment

ID: 33471543
Thanks  to everyone for advise. Will keep everyone posted

Author Comment

ID: 33471729
how to connect jconsole with IBM WebSphere Application Server - ND,  Would really appreciate step by step instructions... Thank you in advance.

Expert Comment

ID: 33471911
Pretty much same as regular WAS

IBM WebSphere Application Server Community Edition Documentation : Working with JConsole

Expert Comment

ID: 34133568
Thank you very much for points.

Have a good day

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
more than one jdk and one jre 1 42
varialbe initialization 11 33
ejb on wildfly 5 20
Chrome and Firefox Java 5 34
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
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…
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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

822 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