File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Finding object memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Finding object memory" Watch "Finding object memory" New topic

Finding object memory

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Is it possible to find how much memory a java object consumes?

Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Did you do a search for that question? It's been asked fairly often before so give it a try and I'm sure you'll find a few threads.

I agree. Here's the link:
subject: Finding object memory
jQuery in Action, 3rd edition