Solved

JVM Memory Profiling tool

Posted on 2006-06-19
9
890 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
Technology Partners: 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

Independent Software Vendors: 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

Title # Comments Views Activity
spring jars download 1 68
jboss wildfly 10.1 10 618
Eclipse with various Java releases 7 89
passing enum to a method 4 51
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…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

738 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