• Post Reply Bookmark Topic Watch Topic
  • New Topic

-Xms256m -Xmx1024m -XX:MaxPermSize=256m  RSS feed

 
Steve Womack
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried to research what this line of code does, but all i was able to find is that the -X means that it is non-standard and can be changed from jdk to jdk. -XX means it is not stable and not recommended. I also understand i can use k, m, or g.

What i have been unable to locate is what the actual command ms, mx, MaxPermSize is. Would someone please point me in the right direction? I have posted this under performance since from what i read about it somehow it improves performance of ones application, but how does it do this?

Thank you in advance.
 
Ireneusz Kordal
Ranch Hand
Posts: 423
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for "java application launcher" to find official documentation of -Xms and -Xmx:
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/java.html
 
Steve Womack
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. The link provided really helped me to understand what the command did and how it improves performance for my java portal. Also found this link on what MaxPermSize does.

http://www.unixville.com/~moazam/stories/2004/05/17/maxpermsizeAndHowItRelatesToTheOverallHeap.html

Again thank you for the help.
 
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!