users@glassfish.java.net

Re: Impossible to start my domain : Invalid maximum heap size

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Fri, 12 Mar 2010 15:06:44 +0100

Yes, you can in domain.xml with the corresponding <jvm-option> tags.

Regards,
Peter

2010-03-12 15:04 keltezéssel, glassfish_at_javadesktop.org írta:
> Hi,
>
> I created a bad configuration and putted a invalid maximum heap size :
> -Xmx100m -Xms10m
>
> The problem is : I can't change again the configuration by the administration console because I can not start my domain.
> Waiting for DAS to start Error starting domain: domain.
> The server exited prematurely with exit code 1.
> Before it died, it produced the following output:
>
> Invalid maximum heap size: -Xmx100m -Xms10m
> Could not create the Java virtual machine.
>
> Command start-domain failed.
>
> Do you know if I can change this configuration without start the domain?
>
> Many thanks
> [Message sent by forum member 'batistutagabrielfio9' (batistutagabrielfio9_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=391486