Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java NewPermSize and MaxPermsize??  RSS feed

 
Ajay Vikas
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody please make me understand, what is java permSize and new java PermSize and why it is used?? I understand them as JVM tuning params, but not clear of inner meanings. Please guide me over this.

Thank you in advance!!!

Thanks,
Ajay vikas.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this Sun forum post
[ September 19, 2008: Message edited by: Martijn Verburg ]
 
Ajay Vikas
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Martijn for your quick reply.

URL you have provided has helped me. But still i am not clear what is,
" The permanent generation is used to hold reflective of the VM itself such as class objects and method objects. These reflective objects are allocated directly into the permanent generation, and it is sized independently from the other generations ".
My understanding is , it increases heap memory on chunks and on demand base.
Please correct me if i am wrong.

Thanks,
Ajay Vikas.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're pretty much correct yes. My understanding is that it's used to store class and method objects (used by Reflections for example) and this will grow and shrink as classes and methods fall in and out of scope.

Disclaimer: I'm not a JVM guru
 
Ajay Vikas
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Martijn.

I agree with you. JVM is really abstract to me.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!