Solved

JVM Memory Profiling tool

Posted on 2006-06-19
9
888 Views
Last Modified: 2008-01-09
Hey experts,

 I am running a Java Web Application using Web Logic, and I am getting an OutOfMemory error. I am sure that this is a memory issue since when the file that joost's utility classes is generating (in that place of the application) is less than 5MB a memory problem does not occur. I need a memory profiling tool to see the memory size that is trying to be allocated by the JVM...any help on where to find such tool??
 
0
Comment
Question by:mte01
[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
9 Comments
 
LVL 3

Assisted Solution

by:runa_paathak
runa_paathak earned 40 total points
ID: 16934064
Use Java Memory Profiler:http://www.khelekore.org/jmp/
0
 
LVL 4

Expert Comment

by:Yagantappa
ID: 16934066
0
 
LVL 4

Expert Comment

by:Yagantappa
ID: 16934136
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 3

Assisted Solution

by:Kanti
Kanti earned 50 total points
ID: 16934161
0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 60 total points
ID: 16934188
0
 
LVL 3

Author Comment

by:mte01
ID: 16934344
Guys, since my application is a complex one and it's all configured in Web Logic (i.e. it's not just a simple application that you run from an IDE)...what would be the best tool from the ones above??
0
 
LVL 4

Assisted Solution

by:Yagantappa
Yagantappa earned 80 total points
ID: 16934381
JMemProf can be deployed in web containers.
JProfiler can be used in many application server. For details see the following link
http://www.ej-technologies.com/products/jprofiler/java-profiler-J2EE.html
0
 
LVL 10

Accepted Solution

by:
rajesh_bala earned 170 total points
ID: 16935874
1. Ensure if its a real memory leak or you need more heap for processing [ both are different ]
2. Since you are using Weblogic, try using JRA - Java Runtime Analyzer provided in JRockit JVM. Its already available in weblogic.

Just enable -Xmanagement and try to use JRA. Or find the tutorials of using it in weblogic documentation site.

If the heap after GC keeps increasing, you might have a leak. The best profiler i would recommend is OptimizeIt if its a complex application..

JProbe is too noisy and JProfiler sucks big time. This is based my experience of 4 years of performance tuning.
0
 
LVL 3

Author Comment

by:mte01
ID: 16941862
Guys,

I solved it by using an internal memory profiling tool inside WL's admin console..thanks for your help anyways!
0

Featured Post

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!

Question has a verified solution.

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

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

740 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