Solved

How do i know in Java How many objects are being used by a class

Posted on 2002-05-15
2
165 Views
Last Modified: 2010-03-31
Hi
 Can u please give me which will tell me that how many object r being by a specific and how much memory is consumed by each object as well that class which i am using ..Please send me the code as soon as possible..

Regards

Rajiv
0
Comment
Question by:rajivnt
2 Comments
 
LVL 1

Accepted Solution

by:
BaneBane earned 200 total points
Comment Utility
Why don't you use a profiling tool like optimize it or jProbe?

Any way take a look at http://www.javaworld.com/javaworld/javaqa/2001-12/03-qa-1228-memory.html?

there is a nice explanation for your question and a few nice likes.
0
 
LVL 5

Expert Comment

by:vemul
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- points to BaneBane

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

vemul
Cleanup Volunteer
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

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

10 Experts available now in Live!

Get 1:1 Help Now