users@glassfish.java.net

Glassfish in Memory Constrained Environments

From: <glassfish_at_javadesktop.org>
Date: Wed, 06 Jun 2007 16:26:17 PDT

I've been trying to use Glassfish (v1 and v2) in Solaris Zones with memory resource controls (rcap). So far I've been unable to start Glassfish if I give a Zone 512MB or less of memory. If I give it 1GB everything is fine.

I've tried to turn down memory usage in the domains (domain.xml: <jvm-options>-Xmx64m</jvm-options>) but I still get errors in a Zone with a memory cap of 256MB (swap capped at 512MB).

By contrast, Geronimo run without a hitch with -Xmx64m. This makes me think there is some tunable I'm unaware of and should tweek.

Any suggestions are appreciated.
[Message sent by forum member 'benr' (benr)]

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