Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

JVM Memory Profiling tool

Posted on 2006-06-19
9
Medium Priority
?
896 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 120 total points
ID: 16934064
Use Java Memory Profiler:http://www.khelekore.org/jmp/
0
 
LVL 4

Expert Comment

by:Yagantappa
ID: 16934066
0
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

 
LVL 3

Assisted Solution

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

Assisted Solution

by:Mayank S
Mayank S earned 180 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 240 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 510 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video teaches viewers about errors in exception handling.
Suggested Courses

722 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