Solved

Out of memory IBM WAS

Posted on 2010-08-18
9
1,273 Views
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.
0
Comment
Question by:STEVE00098
9 Comments
 
LVL 4

Expert Comment

by:KeeBlitz
ID: 33464523
What version of Java are you running?

http://www.java.com/en/download/help/testvm.xml
0
 
LVL 23

Expert Comment

by:Ajay-Singh
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.
0
 
LVL 16

Expert Comment

by:Valeri
ID: 33465479
Try this to monitor your memory usage
http://download.oracle.com/javase/6/docs/technotes/guides/management/jconsole.html
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...?!
0
 
LVL 8

Expert Comment

by:AdminRAM
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
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.express.doc/info/exp/ae/ttrb_mdd4j.html
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 8

Accepted Solution

by:
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

http://www-01.ibm.com/support/docview.wss?uid=swg21375575&aid=1
0
 

Author Comment

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

Author Comment

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

Expert Comment

by:AdminRAM
ID: 33471911
Pretty much same as regular WAS

IBM WebSphere Application Server Community Edition Documentation : Working with JConsole
http://publib.boulder.ibm.com/wasce/V2.1.0/en/working-with-jconsole.html
0
 
LVL 8

Expert Comment

by:AdminRAM
ID: 34133568
Thank you very much for points.

Have a good day
AdminRam
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is JNDI datasource in spring 1 50
HashMap Vs TreeMap 12 55
base64 decode encode 12 119
create a gui in perl 3 70
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This video teaches viewers about errors in exception handling.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now