Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Out of memory IBM WAS

Posted on 2010-08-18
9
Medium Priority
?
1,293 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
LVL 8

Accepted Solution

by:
AdminRAM earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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 how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

772 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