wood burning stoves
The moose likes Tomcat and the fly likes Initial Heap Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Initial Heap Size" Watch "Initial Heap Size" New topic

Initial Heap Size

A Neel

Joined: Dec 02, 2008
Posts: 2
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

Joined: Mar 22, 2000
Posts: 13025
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.

Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2846

"nas nas" please check your private messages for an important administrative matter. You can see them by clicking the My Private Messages link above.

|Asking Good Questions|
A Neel

Joined: Dec 02, 2008
Posts: 2
Thanks for the clarification!
It is sorta covered in the JavaRanch Style Guide.
subject: Initial Heap Size
jQuery in Action, 3rd edition