users@glassfish.java.net

glassfish memory settings

From: <glassfish_at_javadesktop.org>
Date: Wed, 01 Sep 2010 05:44:57 PDT

Hello,

I'm quite new to glassfish clustering and have a few questions.
Currently we have a two two machine cluster (a third is the DAS and the load balancer), with 1 server instance per machine.

The two machines have 4 cores and 6gb ram each. Is it usual to run multiple instances on each server? what could be a good value?

If I set the xmx and xms values for the jvm, are these per-instance values? So if I have 2 instances on one machine, and set xmx and xms to 4gb, this server will require 8gb of ram?

thanks
Dirk
[Message sent by forum member 'dh2k7']

http://forums.java.net/jive/thread.jspa?messageID=481572