WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

what will be happen is we set minimum and maximum heap size as same?

  • 1.  what will be happen is we set minimum and maximum heap size as same?

    Posted Wed April 17, 2013 03:25 AM
    if set minimum and maximum heap size what will happen?


  • 2.  what will be happen is we set minimum and maximum heap size as same?

    Posted Wed April 17, 2013 11:06 AM
    This info center URL may help!

    publib.boulder.ibm.com/infocenter/javasd...

    However, using the same values is typically not a good idea, because it delays the start of garbage collection until the heap is full. Therefore, the first time that the GC runs, the process can take longer. Also, the heap is more likely to be fragmented and require a heap compaction. You are advised to start your application with the minimum heap size that your application requires. When the GC starts up, it will run frequently and efficiently, because the heap is small.