• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 912
  • Last Modified:

JVM Memory Profiling tool

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??
5 Solutions
Use Java Memory Profiler:http://www.khelekore.org/jmp/
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Mayank SAssociate Director - Product EngineeringCommented:
mte01Author Commented:
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??
JMemProf can be deployed in web containers.
JProfiler can be used in many application server. For details see the following link
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.
mte01Author Commented:

I solved it by using an internal memory profiling tool inside WL's admin console..thanks for your help anyways!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now