File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unused Classes and Heap Size

 
vishwas bhatt
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic