Error occurred during initialization of VM. Could not reserve enough space

Dear All,
I am trying to install SAP NetWeaver 7.0 SR2 SP9 on Oracle 10.2 and platform is Windows 2003 32 bits. While installing, in t he restarting the JAVA Instance step, server0 node is getting shutdown. When I further analyzed dev_server0 log, I could get below useful information:
Error occurred during initialization of VM
Could not reserve enough space for object heap
[Thr 6008] JLaunchIAbortJava: abort hook is called
[Thr 6008] **********************************************************************
*** ERROR => The Java VM aborted unexpectedly.
*** Please see SAP Note 943602 , section 'Java VM crashes'
*** for additional information and trouble shooting.
[Thr 6008] JLaunchCloseProgram: good bye (exitcode = -2)
I referred the note mentioned above and it inturn referred to note# 940893. I followed many other sap notes also. However my above problem did not solve yet. I have checke my JAVA SDK version also. It is j2sdk1.4.2_11 and seems to be fine. My systems memory is 3 GB and I gave 20 GB as Virtual memory. I dont think that it should be a memory problem. However somewhere I am lost and can not get the grip over the problem  to resolve it.
May I request all of you to kindly help me on above issue? Please let me know if you need any more information.
Waiting for your kind replies.
Regards,
Faisal

Dears,
Thank you very much for your replies. The heap size was 1024. I changed it to the below:
Heap Size=512 (earlier 1024)
Changed below paramters in configtool:
-Xmx512m (earlier 1024)
-Xms256m (earlier 1024)
Hope this information will be helpful to others as well.
Once again, I thank both of you to guide me in proper directions.
Regards,
Faisal

Similar Messages

  • Error occurred during initialization of VM Could not reserve enoughspace for code cache

    I receive this error in the ZENWSimport and Removal screen:
    Error occurred during initialization of VM
    Could not reserve enough space for code cache
    Server is a HP DL380G4, NWSBS SP5, 4 GB RAM.
    I think it's Java related, because iManager also stopped working (error
    503 - service unavailable)
    AUTOEXEC.BAT:
    @echo off
    prompt $p$g
    path=c:\dos
    rem mscdex /d:cpqcdrom /v /m:50 /l:f
    c:\dos\nlsfunc
    c:\dos\mode con cp PREPARE=((437) c:\dos\EGA.cpi)
    c:\dos\mode con cp Select=437
    cd \NWSERVER
    ## commented by MemCalc server -nl -u134217728
    server -nl -u134217728
    I tried removing the -u switch, but the server wouldn't even boot then.
    I'm out of options, can anyone help?
    Arjan Schepers

    Also, I reapplied Service Pack 5, didn't help. BTI.CFG looks like the
    following:
    ;* Copyright 1982-2001 Pervasive Software Inc. All Rights Reserved
    ;* Pervasive Software product initialization file for NetWare
    [Btrieve Communications Manager]
    MaxWorkerThreads=16
    MaxReceivePacketSize=1500
    Supported Protocols=TCPIP
    Listen IP Address=
    TCP/IP Multihomed=YES
    Enable AutoReconnect=NO
    AutoReconnect Timeout=180
    [MicroKernel]
    CacheSize=2048000
    Pervasive SQL 9SP2 is installed on this server for an application named
    MICROS RAS/KAS. It needs 2GB memory (*shrug*, I know), hence the 4GB memory.
    Arjan Schepers

  • Error occurred during initialization of VM, could not reserve space in heap

    I installed the SOA suite+ BPM 11.1.1.3.0, ESB 11.1.1.3.0 successfully along with RCU schema in oracle DB Ex edition 11 G successfully. I have 2 GB Ram in my system. I am facing the below error during the startup of weblogic instance which is having these all ESB, BPM properties.
    it seems that 2 GB ram is occupying by the SOA suite.
    CAN ANY ONE SUGGEST TO REDUCE THE SOA SUITE RAM CAPACITY.
    USER_MEM_ARGS=-Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m
    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:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\user-patch.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\soa-startup.jar;;C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Regards
    Raghu Veer

    Hello Raghu,
    As James indicated it is problem with the system configuration but still you may try below once -
    Go to $Domain_Home/bin and edit the setSOADomainEnv.cmd (or setSOADomainEnv.sh) to change below setting -
    set DEFAULT_MEM_ARGS=-Xms512m -Xmx512m
    If you are using AMD processor then modify below instead of DEFAULT_MEM_ARGS -
    set PORT_MEM_ARGS=-Xms768m -Xmx768m
    Save and exit.
    Now start Admin server and after that SOA server and OSB server. As James suggested, for better performance you may keep either of SOA and OSB server up as and when required and keep other one down.
    I am still using a 2GB machine for 11g suite and I work easily because generally I work with one of SOA or OSB server and whenever I use any IDE like JDev or OEPE, I keep all servers down. For better performance and memory utilization you may use Oracle XE database.
    Hope it helps.
    Regards,
    Anuj

  • ADF:--Error occurred during initialization of VM,Could not create the Java

    Hi Friends,
    when am creating new adf page and starting Run the ADF page it will through an error
    *** Using port 7101 ***
    "C:\Users\Rama Krishna\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Oracle\MIDDLE~1\JDK160~1\bin;E:\oracle\product\10.2.0\db_1\bin;C:\orant\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\SSH Communications Security\SSH Secure Shell;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * 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_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Xms512m -Xmx512m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Process exited.
    could you please tell me anybody solve this error.
    Thank and Regards
    Rkrao

    Hi
    am facing same issue, My problem was not solve
    error like this
    *** Using port 7101 ***
    "C:\Users\Rama Krishna\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;%classpath%;.\
    PATH=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Oracle\MIDDLE~1\JDK160~1\bin;E:\oracle\product\10.2.0\db_1\bin;C:\orant\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Oracle\Middleware\jdk160_18\bin\javac;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    *  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_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JDK160~1\bin\java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Xms512m -Dweblogic.nodemanager.ServiceEnabled=true  -Xverify:none  -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Digf.arisidbeans.carmlloc=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds  -Xms512m -Xmx512m -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath  weblogic.Server
    Error occurred during initialization of VM
    Could not create the Java virtual machine.
    Could not reserve enough space for object heap
    Process exited.could u please tell me any body, solve this problem
    Thank and Regards
    Rkrao.

  • WebLogic Error VM Could not reserve enough space

    Hi There,
    I have installed Weblogic 8.1 Deployment Server on Windows XP. The installation was successful, but when I am starting the weblogic it is not starting and throwing an error:
    *"Error occurred during initialization of VM Could not reserve enough space for object heap"*
    Can somebody help me to resolve the issue.....
    Many Thanks in advance....
    Regards...

    Sounds like maybe you have misconfigured -Xmx or -Xms when you invoke the JVM and are asking for more memory than your machine can physically allocate. Would need to see your weblogic startup configuration and how much RAM is installed on your target machine to help debug further.

  • Problem with Java Memory "Could not reserve enough space for object heap"

    Hi gurus,
    I am not an expert with Java´s configuration, and I have a situation that I don´t understand. First of all, I am working at Centos 6.2 with jdk_1.6 and Tomcat 7.
    The problem is...
    - If I run Tomcat with JAVA_OPTS="-Xmx128m"* (at catalina.sh) all works fine.
    - If I run Tomcat with JAVA_OPTS="-Xmx512m"* (at catalina.sh) an error appears:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    This appear when I run java -version or when I try to stop Tomcat, and the Tomcat isn´t able to stop.
    The strange thing is that my server has more than 200M free in physical memory. So, why Tomcat isn´t able to stop? and Why Java doesn´t use the free memory in my server?
    Thanks in advanced.

    Hello EJP, thanks for your answer.
    I have explained bad.
    The server has 703M free when Tomcat is stopped. I had mentioned that my server has more than 200M free in physical memory when Tomcat is running with JAVA_OPTS="-Xmx512m", so I don´t understand why these errors appear.
    Do you understand me?
    Recently I have checked the swap memory, and it is disabled. In spite of swap memory is disabled I think java wouldn´t need this memory because it has free physical memory
    Thanks again.

  • Could not reserve enough space for object heap in Jdeveloper 11g R1

    Hi,
    I tried to increase the JVM heap size with Virtual machine = server and the value as -Xmx512m -XX:MaxPermSize=512M -Djbo.debugoutput=console in the project properties->Run/Debug/Profile->Default-Edit, but still getting the below error.
    Any help is appreciated.
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=D:\Oracle\MIDDLE~1\patch_wls1032\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\JDK160~1.5-3\lib\tools.jar;D:\Oracle\MIDDLE~1\utils\config\10.3\config-launch.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.2.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.0/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;d:\source\FCUBSInstaller.jar;D:\Olite10g_1\MOBILE\Sdk\bin\OLITE40.JAR;;
    PATH=D:\Oracle\MIDDLE~1\patch_wls1032\profiles\default\native;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.0\bin;D:\Oracle\MIDDLE~1\JDK160~1.5-3\jre\bin;D:\Oracle\MIDDLE~1\JDK160~1.5-3\bin;D:\Olite10g_1\jre\1.4.2\bin\client;D:\Olite10g_1\jre\1.4.2\bin;D:\Software\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Windows Imaging\;D:\software\Clearcase 7.0\common;D:\software\Clearcase 7.0\ClearCase\bin;D:\Olite10g_1\MOBILE\sdk\bin;C:\Program Files\Liquid Technologies\Liquid XML Studio 2011\XmlDataBinder9\Redist9\cpp\win32\bin;D:\Software\Liquid Technologies\Liquid XML Studio 2011\XmlDataBinder9\Redist9\cpp\win32\bin;D:\software\oracle10g\BIN;D:\Jdev10g\jdk\bin;;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * 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_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JDK160~1.5-3\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=D:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Xmx512m -XX:MaxPermSize=512M -Djbo.debugoutput=console -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\ANURAD~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1 -Dcommon.components.home=D:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\DOCUME~1\ANURAD~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\DOCUME~1\ANURAD~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\DOCUME~1\ANURAD~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\DOCUME~1\ANURAD~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\ANURAD~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\software\oracle\product\10.2.0\client_1\modules\oracle.ossoiap_11.1.1,D:\software\oracle\product\10.2.0\client_1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\ANURAD~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\oracle\store\gmds -Xms512m -Xmx512m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1032\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Process exited.

    This is telling you that there is not enough memory for the heap size you've specified. Increasing the heap size makes this worse, not better. You need more physical memory.
    john

  • Could not reserve enough space for card marking array

    # java -d64  -Xms1024M -Xmx2048M -version
    Error occurred during initialization of VM
    Could not reserve enough space for card marking array

    You may be running out of swap space.
    I suggest you review this doc first:
    Troubleshooting Java[tm]: Error Occurred During Initialization of VM: Could not reserve enough space for object heap (Doc ID 1260764.1)

  • 'java': "Could not reserve enough space on heap" on 48G Linux machine

    I have installed the 64bit version of jdk-1.6.0-17 from java.sun.com on my RedHat Linux machine with 48G internal memory.
    All the java commands return :
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    strace shows that java is trying to allocate 25% of my memory, ie 12G, and my virtual memory limit is 6G.
    The 32bit 1.6.0-16 did not expose this behaviour. I haven't tried the 32bit version of 1.6.0-17, sorry, but I do need those 64 bits. And I haven't tried the 64bit 1.6.0-16 either, should I?
    After finally finding out how to pass -Xmx4096M to jar,javah,javac,java many programs compile fine, but when I compile an app (containing main):
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError: Java heap space
    at com.sun.tools.javac.util.ListBuffer.append(ListBuffer.java:110)
    at com.sun.tools.javac.util.ListBuffer.appendList(ListBuffer.java:120)
    at com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2408)
    at com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2253)
    at com.sun.tools.javac.parser.Parser.classOrInterfaceOrEnumDeclaration(Parser.java:2191)
    at com.sun.tools.javac.parser.Parser.typeDeclaration(Parser.java:2180)
    at com.sun.tools.javac.parser.Parser.compilationUnit(Parser.java:2126)
    at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:509)
    at com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:646)
    at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1869)
    at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1777)
    at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
    at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
    at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1951)
    at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:842)
    at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:901)
    at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:961)
    at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:986)
    at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:1162)
    at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1714)
    at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1547)
    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
    at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)
    at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:607)
    at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:691)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
    at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:350)
    at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:560)
    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:639)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:399)
    at com.sun.tools.javac.comp.MemberEnter.finishClass(MemberEnter.java:410)
    make: *** [Sample.class] Error 3
    Running without the 6G limit and setting Xmx12000M doesn't help.
    I hope someone can shed some light into what's going on here. Why on earth would Java think it needs 12G memory to run? And why, when it gets it, is it still not enough?
    Thanks,
    Calle

    tschodt wrote:
    Cramgo wrote:
    strace shows that java is trying to allocate 25% of my memory, ie 12G, and my virtual memory limit is 6G.Maybe you have found a bug, the default max heap size calculation is supposed to cap it at 1G.
    [http://java.sun.com/performance/reference/whitepapers/tuning.html#section4.1.1]
    So should I report it somewhere or what?
    After finally finding out how to pass -Xmx4096M to jar,javah,javac,java many programs compile fine
    Are you setting one of [_JAVA_OPTIONS|http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html] or [JAVA_TOOLS_OPTIONS|http://java.sun.com/javase/6/docs/platform/jvmti/jvmti.html#tooloptions] for all shells?
    No, passing -Xmx4096m to java, and -J-Xmx4096m to javac, javah and jar. Is JAVA_OPTIONS or JAVA_TOOLS_OPTIONS better, how do I use those?
    but when I compile an app (containing main):
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError: Java heap space
    make: *** [Sample.class] Error 3Running without the 6G limit and setting Xmx12000M doesn't help.Forgot to specify -Xms and-Xmx?Promise not to laugh. Seems like I somehow got rid of that m.... running with a heap size of 12000 bytes might be a bit sparse, admittedly. ;) Caught it when I added -Xms...
    I hope someone can shed some light into what's going on here. Why on earth would Java think it needs 12G memory to run? And why, when it gets it, is it still not enough?OK so I now can compile again, great. Would be lovely to get rid of the -Xmx but I can live with that...

  • Could not reserve enough space for object he

    dear all,I installed weblogic6.0 with sp2 in soloris. But I found a error when I start startWebLogic.sh. I got the message:----------------------------------------------------------------------------------------LD_LIBRARY_PATH=/soft/bea/wlserver6.0/lib/solaris:/soft/bea/wlserver6.0/lib/sol8Error occured during initialization of VMCould not reserve enough space for object heap£¬why--------------------------------------------Thank you!

    I have the same problems but on windows NT

  • Error occurred during initialization of VM Using Whs

    RDBMS Version: 9i
    Operating System and Version: Microsoft Windows 2000 server Service pack 4
    Product: Oracle Lite, 9i
    AS: 9.0.2.3
    When I use the wsh.exe in cmd.exe I have the error:
    D:\oracle\prodotti\Ora9iasfe\Mobile\Server\bin>wsh
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Environment info:
    D:\Documents and Settings\Administrator>java -version
    java version "1.3.1_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
    Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)
    D:\Documents and Settings\Administrator>set classpath
    CLASSPATH=D:\MOBILECLIENT\Mobile\bin\olite40.JAR;D:\Programmi\JavaSoft\JRE\1.3.1_03\bin;d:\oracle\pr
    odotti\Ora9iasfe\MOBILE\CLASSES\OLITE40.JAR;d:\oracle\prodotti\Ora9iasfe\j2ee\home\oc4j.jar;d:\oracl
    e\prodotti\Ora9iasfe\j2ee\home\lib\ojsp.jar;d:\oracle\prodotti\Ora9iasfe\jlib\zrclient.jar;d:\oracle
    \prodotti\Ora9iasfe\reports\jlib\rwrun.jar;d:\oracle\prodotti\Ora9iasfe\jlib\bigraphbean.jar;d:\orac
    le\prodotti\Ora9iasfe\jlib\LW_PfjBean.jar;d:\oracle\prodotti\Ora9iasfe\jlib\bigraphbean-nls.zip;d:\o
    racle\prodotti\Ora9iasfe\Mobile\Server\bin\webtogo.jar;
    D:\Documents and Settings\Administrator>set path
    Path=D:\Programmi\JavaSoft\JRE\1.3.1_03\bin;d:\oracle\prodotti\Ora9iasfe\bin;d:\oracle\prodotti\Ora9
    iasfe\Mobile\Server\bin;d:\oracle\prodotti\Ora9iasbe\bin;d:\oracle\prodotti\Ora9iasfe\bin;d:\oracle\
    prodotti\Ora9iasfe\jdk\jre\bin\classic;d:\oracle\prodotti\Ora9iasfe\jdk\jre\bin;d:\oracle\prodotti\O
    ra9iasfe\jlib;d:\oracle\prodotti\Ora9iasbe\jlib;D:\Programmi\Oracle\jre\1.3.1\bin;D:\Programmi\Oracl
    e\jre\1.1.8\bin;D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;d:\oracle\prodotti\Ora9iasfe\bin\;
    D:\PROGRA~1\ULTRAE~1;d:\oracle\prodotti\Ora9iasfe\MOBILE\sdk\bin
    Thanks
    Rino

    RDBMS Version: 9i
    Operating System and Version: Microsoft Windows 2000 server Service pack 4
    Product: Oracle Lite, 9i
    AS: 9.0.2.3
    When I use the wsh.exe in cmd.exe I have the error:
    D:\oracle\prodotti\Ora9iasfe\Mobile\Server\bin>wsh
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Environment info:
    D:\Documents and Settings\Administrator>java -version
    java version "1.3.1_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
    Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)
    D:\Documents and Settings\Administrator>set classpath
    CLASSPATH=D:\MOBILECLIENT\Mobile\bin\olite40.JAR;D:\Programmi\JavaSoft\JRE\1.3.1_03\bin;d:\oracle\pr
    odotti\Ora9iasfe\MOBILE\CLASSES\OLITE40.JAR;d:\oracle\prodotti\Ora9iasfe\j2ee\home\oc4j.jar;d:\oracl
    e\prodotti\Ora9iasfe\j2ee\home\lib\ojsp.jar;d:\oracle\prodotti\Ora9iasfe\jlib\zrclient.jar;d:\oracle
    \prodotti\Ora9iasfe\reports\jlib\rwrun.jar;d:\oracle\prodotti\Ora9iasfe\jlib\bigraphbean.jar;d:\orac
    le\prodotti\Ora9iasfe\jlib\LW_PfjBean.jar;d:\oracle\prodotti\Ora9iasfe\jlib\bigraphbean-nls.zip;d:\o
    racle\prodotti\Ora9iasfe\Mobile\Server\bin\webtogo.jar;
    D:\Documents and Settings\Administrator>set path
    Path=D:\Programmi\JavaSoft\JRE\1.3.1_03\bin;d:\oracle\prodotti\Ora9iasfe\bin;d:\oracle\prodotti\Ora9
    iasfe\Mobile\Server\bin;d:\oracle\prodotti\Ora9iasbe\bin;d:\oracle\prodotti\Ora9iasfe\bin;d:\oracle\
    prodotti\Ora9iasfe\jdk\jre\bin\classic;d:\oracle\prodotti\Ora9iasfe\jdk\jre\bin;d:\oracle\prodotti\O
    ra9iasfe\jlib;d:\oracle\prodotti\Ora9iasbe\jlib;D:\Programmi\Oracle\jre\1.3.1\bin;D:\Programmi\Oracl
    e\jre\1.1.8\bin;D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;d:\oracle\prodotti\Ora9iasfe\bin\;
    D:\PROGRA~1\ULTRAE~1;d:\oracle\prodotti\Ora9iasfe\MOBILE\sdk\bin
    Thanks
    Rino

  • Insallation of SAP NW : Error occurred during initialization of VM !!!

    Hi everyone,
    I have reinstalled the SAP NetWeaver 2004s SP9, the installation went well, but this time i have some problems with the J2EE Server (with an exit code equal to -2)
    The result of the Developer trace is :
    [Thr 3100] JStartupICheckFrameworkPackage: <b>can't find</b> framework package D:\usr\sap\J2E\JC01\exe\<b>jvmx.jar</b>
    <b>Error occurred during initialization of VM
    Could not reserve enough space for object heap</b>
    [Thr 392] JLaunchIAbortJava: abort hook is called
    [Thr 392] **********************************************************************
    ERROR => The Java VM aborted unexpectedly.
    Please see SAP Note 943602 , section 'Java VM crashes'
    for additional information and trouble shooting.
    [Thr 392] JLaunchCloseProgram: <b>good bye (exitcode = -2)</b>
    Thanks very much for your help, i will be grateful.
    Regards
    Hassan

    Hi Ben,
    I always have the same problem !!! even if i moved the content of the directory .../j2ee/os_libs/  into different directory
    Thanks & Regards
    Hassan

  • WL10.3 Error occurred during initialization of VM

    I have over 3G RAM, absolutlely nothing else running. Trying to run samples for WL10R3, and server starts up with this error below.
    I tried increasing the ms and mx settings...to no avail.
    Reinstalled BEA...nothing.
    Noone else has that issue.
    Compared my PATH and env settings to everyone. I mirrored theirs.
    Has anyone else resolved that issue. This is under XP.
    Thx in advance!
    Starting WLS with line:
    C:\bea103\JDK160~1\bin\java -client -Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=256m -XX:MaxPermSize=512m -Xverify:none -da -Dplatform.home=C:\bea103\WLSERV~1.3 -Dwls.home=C:\bea103\WLSERV~1.3\server -Dweblogic.home=C:\bea103\WLSERV~1.3\server -Dweblogic.wsee.bind.suppressDeployErrorMessage=true -Dweblogic.wsee.skip.async.response=true -Dweblogic.management.discover=true -Dweblogic.security.SSL.ignoreHostnameVerify=false -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true -DKS_URL=rmi://localhost:1188/KS -Dweblogic.ext.dirs=C:\bea103\patch_wlw1030\profiles\default\sysext_manifest_classpath;C:\bea103\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\bea103\patch_wlp1030\profiles\default\sysext_manifest_classpath;C:\bea103\patch_cie670\profiles\default\sysext_manifest_classpath;C:\bea103\wlportal_10.3\p13n\lib\system;C:\bea103\wlportal_10.3\light-portal\lib\system;C:\bea103\wlportal_10.3\portal\lib\system;C:\bea103\wlportal_10.3\info-mgmt\lib\system;C:\bea103\wlportal_10.3\analytics\lib\system;C:\bea103\wlportal_10.3\apps\lib\system;C:\bea103\wlportal_10.3\info-mgmt\deprecated\lib\system;C:\bea103\wlportal_10.3\content-mgmt\lib\system -Dweblogic.alternateTypesDirectory=C:\bea103\wlportal_10.3\portal\lib\security -Dweblogic.Name=AdminServer -Djava.security.policy=C:\bea103\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.

    Hi,
    I have 12Gb on a 64-bit Windows7 and 4Gb on 32-bit XP.
    For the 32-bit OS - you cannot go over 1908 ~ 2GB per process, So I usually run with 1536 to be compatible with 32 or 64 bit OS's.
    Just a not that the size of RAM on the machine besides the 2GB 32/64 limit has not much bearing on the JVM because I can run out of Heap even with 12GB.
    Also note that most 32-bit software will take twice as much ram on a 64 bit os because of the doubling in word size - therefore applications that used to run with 768 will need 1536 on a 64 bit OS.
    Try running jconsole.exe against your JVM - you will see the spike in heap usage that occurs just before your OOM error.
    For example, see the following scenario triaged with JConsole.
    http://wiki.eclipse.org/EclipseLink/Building/64bit#282012:_Core_LRG_requires_increase_to_2048MB_heap_during_final_XML_processing
    thank you
    /michael
    http://www.eclipselink.org

  • Getting  : Error occurred during initialization of VM when compiling

    Hello!
    I am using Jdeveloper 11.1.1.6.0 and all of a sudden when I try to compile I get the following errors...
    [scac] Error occurred during initialization of VM
    [scac] Could not reserve enough space for object heap
    I have tried to look for this issue on the web but non of the possible solutions seem to work. I was wondering if anyone might be able to provide some assistance on this.
    Thanks in advance.
    Edited by: 832187 on Jul 26, 2012 8:17 AM

    I fixed this by going into the ant-sca-compile.xml and changing the <jvmarg value="-Xmx512m"/>below.
    Before
    <target name="scac" description="Compile and validate a composite">
    <scac input="${scac.input}" outXml="${scac.output}" error="${scac.error}" appHome="${scac.application.home}" failonerror="true" displayLevel="${scac.displayLevel}">
    <jvmarg value="-Xms128m"/>
    <jvmarg value="-Xmx1024m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=512m"/>
    <!-- jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/ -->
    </scac>
    After
    <target name="scac" description="Compile and validate a composite">
    <scac input="${scac.input}" outXml="${scac.output}" error="${scac.error}" appHome="${scac.application.home}" failonerror="true" displayLevel="${scac.displayLevel}">
    <jvmarg value="-Xms128m"/>
    <jvmarg value="-Xmx512m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=512m"/>
    <!-- jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/ -->
    </scac>

  • Error message: Errors occurred during installation before ITunes could be configured. Your systerm has not been modified. To complete the installation, run the installer again.

    Trying to install iTunes and keep getting the following error message: "Errors occurred during installatino before iTunes could be configured. Your system has not been modified. To complete the installation, runthe installer again.
    This message appears everytime I try to install iTunes. Help!

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

Maybe you are looking for