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

Unused Classes and Heap Size

vishwas bhatt
Ranch Hand

Joined: Nov 30, 2000
Posts: 129
Hi Folks,

If Application JAR file has certain clases which I am not using at all not even instansiate them. Will they still take Heap Size if YES then WHY?

and how can we check how much Heap-Size these classes are taking up.

One More query.
If I have included some third pary JAR fine in my Application JAR file. does the size of 3rd party JAR file matter in Heap if I am not using them.

I know these are very stupid question but this just for my curosity.
Hope you will understatnd.

Waiting for reply.
I agree. Here's the link:
subject: Unused Classes and Heap Size
It's not a secret anymore!