Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

memory stats

Thread view: 
nash_rack1@yahoo.com - 04 May 2006 18:01 GMT
JRockit (JVM) from weblogic has a great feature that helps in tracking
memory leaks. You can enable printing of memory stats like (most added
objects since last GC, top objects occupying memory, etc). These stats
get printed at the time of garbage collection. They can also be printed
by sending a signal to JVM. I wanted to know if any new (1.5 or 1.6)
JVMs from Sun also has any feature like this? I know about third party
tools like jprobe etc but it would be great to have the JVM provide
some basic information about objects in memory.
Scott Ellsworth - 05 May 2006 21:30 GMT
> I wanted to know if any new (1.5 or 1.6)
> JVMs from Sun also has [the ability to figure out object counts and sizes]?
> [I]t would be great to have the JVM provide
> some basic information about objects in memory.

Use the same tools those third party ones do - JVMTI and the like will
give you all the information you need.  You might also be able to do
this via JMX, but I have not dug deeply into that.

Scott

Signature

Scott Ellsworth
scott@alodar.nospam.com
Java and database consulting for the life sciences



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.