users@glassfish.java.net

Re: How to increase heap size in remote

From: emiddio-frontier <emiddio_at_frontier.com>
Date: Sun, 29 May 2011 08:06:36 -0700

raise you max heap -- not your minimum;

--Xmx1g or -Xmx1024m -- that worked for me with 32bit windows with 4GBram,

gary



On 5/29/2011 2:25 AM, Peter Ondruška wrote:
> 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
>>
>>
>>