Application Servers(java) : Should adding RAM to server depend on each domain's -Xmx value?

Posted by ring bearer on Stack Overflow See other posts from Stack Overflow or by ring bearer
Published on 2010-06-07T18:49:05Z Indexed on 2010/06/07 18:52 UTC
Read the original article Hit count: 176

We have Glassfish application server running in Linux servers. Each Glassfish installation hosts 3 domains. Each domain has a JVM configuration such as -Xms 1GB and -XmX 2GB. That means if all these three domains are running at max memory, server should be able to allocate total 6GB to the JVMs

With that math,each of our server has 8GB RAM (2 GB Buffer) First of all - is this a good approach? I did not think so, because when we analyzed memory utilization on this server over past few months, it was only up to 1GB;

Now there are requests to add an additional domain to these servers - does that mean to add additional 2 GB RAM just to be safe or based on trend, continue with whatever memory the server has?

© Stack Overflow or respective owner

Related posts about java

Related posts about memory