Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Initial Heap Size

 
A Neel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will a higher value for the initial heap size make a difference when the maximun value is unchanged? ("-Xms128m -Xmx512m" Vs "-Xms256m -Xmx512m")
Thanks for the clarification.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One difference is that if you start with a low initial value, when your application needs more memory, the user that sent the request causing the need for more memory will see an unexpected delay and may think that there is a serious problem.

Bill
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"nas nas" please check your private messages for an important administrative matter. You can see them by clicking the My Private Messages link above.
 
A Neel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the clarification!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic