users@glassfish.java.net

Re: How to increase heap size in remote

From: Peter Ondru?ka <peter.ondruska+javanet_at_kaibo.eu>
Date: Sun, 29 May 2011 11:25:29 +0200

Do you use 32 or 64 bit JVM to run remote server?

On Sun, May 29, 2011 at 11:12 AM, <forums_at_java.net> wrote:
> Hi all,
>
> I am using glass fish from remote serer the version is 3.0, when i try to
> increase the  MaxPermSize to 1024m andXms - initial java heap size to
> 1024m.
>
> After the changes  is done, when i restart the server it throws  following
>
>
>
> .. /*asadmin> start-domain domain1*/
>
> .. /*Waiting for DAS to start .Error starting domain: domain1. The server
>   exited prematurely with exit code 1. Before it died, it produced the
>   following output:*/
>
> .. /*Error occurred during initialization of VM Could not reserve enough
>   space for object heap*/
>
> .. /*Could not create the Java virtual machine.*/
>
> .. /*Command start-domain failed.*/
>
>
>
>
> Pls let me now you suggestions
>
>
>
>
>
>
> --
>
> [Message sent by forum member 'harish.seipl']
>
> View Post: http://forums.java.net/node/807420
>
>
>