• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to know correct Xmx and Xms for heap allocation?

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have read to use verbose:gc to know the correct values of xmx and xms but I don't know how to read the logs of the verbose gc? Can someone help me in knowing the correct values for Xmx? or direct me to a tutorial link using verbose gc preferably a video tutorial.. Thanks.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I always take a pragmatic approach to memory allocation - fire it up with default memory and see what happens under load.

Then I have to balance versus the other requirements of the system - memory available, other processes that have to run, expected response times, etc. so I dont think there is a single magic answer.

Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic