Thursday, February 26, 2015

Could not reserve enough space for object heap. Error starting SOA server after installing in Local


I installed SOA server domain . When i tried starting the server i encountered the following error.


Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.


I went ahead and changed the

this value set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m

to

set DEFAULT_MEM_ARGS=-Xms512m -Xmx700m

This mean we are reduced the memory allocation from 1024MB to 700MB.

After this setting my server is able to start again.




Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\mbanerjee>cd C:\Oracle\Middleware11_1_1_7\user_projects\do

C:\Oracle\Middleware11_1_1_7\user_projects\domains\soa_domain>start
*********************************************************
** Setting up SOA specific environment for win...
*********************************************************
PATH=C:\Oracle\MIDDLE~3\patch_wls1035\profiles\default\native;C:\Or
.
USER_MEM_ARGS=-Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=
.
JAVA_OPTIONS= -Xverify:none
.
*****************************************************
** End SOA Specific environment setup  for win.
*****************************************************
*********************************************************
** SOA specific environment is already set. Skipping ...
.
.
JAVA Memory arguments: -Xms512m -Xmx1024m -XX:PermSize=128m -XX:Max
.
WLS Start Mode=Development
.
CLASSPATH=C:\Oracle\MIDDLE~3\ORACLE~1\modules\oracle.jdbc_11.1.1\oj
.
PATH=C:\Oracle\MIDDLE~3\patch_wls1035\profiles\default\native;C:\Or
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http:\\hostname:port\console        *
***************************************************
starting weblogic with Java version:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~3\JDK160~1\bin\java -client   -Xms512m -Xmx1024m -
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

C:\Oracle\Middleware11_1_1_7\user_projects\domains\soa_domain>

1 comment: