2

I want to count the number of classes and the permgen space of my java code using jmap. However since I am running my code in ecplise , additional classes and permgen space (which belongs to ecplise ) is being shown.

I tried to run the code from my terminal but was unable to due to some dependency issues. Does someone know a way around this issue ?

Suraj Menon
  • 1,486
  • 3
  • 28
  • 50

1 Answers1

0

I tried to run the code from my terminal but was unable to due to some dependency issues. Does someone know a way around this issue ?

Since your application is likely to be "of limited use" if it will only run within Eclipse, you should solve the dependency issue first, so that you can run your application from the command line. That should make the permstat vs Eclipse problem a non-issue.

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216
  • 2
    The reason because of which I was not able to run my code is mentioned here : http://stackoverflow.com/questions/18896272/unable-to-locate-spring-namespacehandler-for-xml-schema-namespace-error-in-termi However none of the solutions/comments provided solved the error. – Suraj Menon Sep 23 '13 at 13:10
  • Not withstanding that, it is common sense to fix that problem first! – Stephen C Sep 23 '13 at 13:22
  • Desperate times call for desperate measures !!! My deadline is tomm & I have bee stuck with this issues for a week. – Suraj Menon Sep 23 '13 at 13:59