Solved

JVM Memory Profiling tool

Posted on 2006-06-19
9
877 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
9 Comments
 
LVL 3

Assisted Solution

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

Expert Comment

by:Yagantappa
Comment Utility
0
 
LVL 4

Expert Comment

by:Yagantappa
Comment Utility
0
 
LVL 3

Assisted Solution

by:Kanti
Kanti earned 50 total points
Comment Utility
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 30

Assisted Solution

by:mayankeagle
mayankeagle earned 60 total points
Comment Utility
0
 
LVL 3

Author Comment

by:mte01
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Guys,

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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 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 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…

762 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

6 Experts available now in Live!

Get 1:1 Help Now