I have a Virtual Server with 1GB of RAM. When i start glassfish with asadmin start-domain it instantly allocates all available memory, although i defined -Xmx128m in my domain.xml. Am I missing an option here? How can I prevent glassfish from using all free memory?

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

Glassfish minimum required RAM is 1GB. You can check this documentation right here. http://docs.sun.com/app/docs/doc/820-7688/abpaj?l=en&a=view. So define -Xmx to be less then 512M will not going to work.

EDIT: I just realize that you have ask this question 7 months ago. I hope my answer help you out

link|improve this answer
i'm still watchin this - thanks for your answer anyway – Mannaz Dec 9 '10 at 23:26
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.