Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unused Classes and Heap Size  RSS feed

Ranch Hand
Posts: 129
  • 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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!