eclipse里面启动weblogic报错,在外部启动就正常。在eclipse里启动报错,信息如下,急啊。。。
weblogic Could not reserve enough space for object heap
could not create the java virtual machine...
是什么问题?怎么设置
好牛逼的内存分配。。。你的机器内存一共多大?
敢不敢把- Xms 设小一点,你给这个JVM最大分配 Xmx 1200m的堆内存,堆内存起始值 Xms也用了1200m,一下子全用光了!!!显然导致了结果。。。“ Couldnotreserveenoughspaceforobjectheap”
报错信息补充:
JAVAMemoryarguments:-Xms1200m-Xmx1200m-XX:CompileThreshold=8000-XX:PermSize=256m -XX:MaxPermSize=256m
.
WLSStartMode=Development
.
CLASSPATH=c:\bea\weblogic_crack.jar;C:\bea\wlserver_10.0\thirdparty\birt\js.jar;C:\bea\patch_wls1000\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_wlw1000\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\SOFTWE~1\Java\JAVA1.5\JDK\lib\tools.jar;C:\bea\WLSERV~1.0\server\lib\weblogic_sp.jar;C:\bea\WLSERV~1.0\server\lib\weblogic.jar;C:\bea\modules\features\weblogic.server.modules_10.0.0.0.jar;C:\bea\modules\features\com.bea.cie.common-plugin.launch_2.1.0.0.jar;C:\bea\WLSERV~1.0\server\lib\webservices.jar;C:\bea\modules\ORGAPA~1.5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0/lib/ant-contrib.jar;;C:\bea\WLSERV~1.0\common\eval\pointbase\lib\pbclient51.jar;C:\bea\WLSERV~1.0\server\lib\xqrl.jar;;
.
PATH=C:\bea\patch_wls1000\profiles\default\native;C:\bea\patch_wlw1000\profiles\default\native;C:\bea\WLSERV~1.0\server\native\win\32;C:\bea\WLSERV~1.0\server\bin;C:\bea\modules\ORGAPA~1.5\bin;D:\SOFTWE~1\Java\JAVA1.5\JDK\jre\bin;D:\SOFTWE~1\Java\JAVA1.5\JDK\bin;D:/softweares/Java/JRE/bin/client;D:/softweares/Java/JRE/bin;C:\Users\windy\Desktop\JLMedical_hj\passClient;C:\ProgramFiles\CommonFiles\MicrosoftShared\WindowsLive;E:\oracle\product\10.2.0\db_1\bin;C:\ProgramFiles\Intel\iCLSClient\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramFiles\Intel\Intel(R)ManagementEngineComponents\DAL;C:\ProgramFiles\Intel\Intel(R)ManagementEngineComponents\IPT;C:\ProgramFiles\Intel\OpenCLSDK\2.0\bin\x86;D:\softweares\Java\JDK\bin;D:\softweares\jboss\bin;D:\softweares\SVN\bin;D:\softweares\msysgit\bin;C:\ProgramFiles\WindowsLive\Shared;D:\softweares\Java\JDK/lib/tool.jar;D:\softweares\apache\apache-ant-1.7.1\bin;C:\Python27;D:\softweares\apache-maven-3.0.5\bin;D:\softweares\ldap\kfw\Binary;C:\ProgramFiles\MicrosoftSQLServer\80\Tools\Binn\;C:\ProgramFiles\MicrosoftSQLServer\90\DTS\Binn\;C:\ProgramFiles\MicrosoftSQLServer\90\Tools\binn\;C:\ProgramFiles\MicrosoftSQLServer\90\Tools\Binn\VSShell\Common7\IDE\;C:\ProgramFiles\MicrosoftVisualStudio8\Common7\IDE\PrivateAssemblies\;C:\bea\WLSERV~1.0\server\native\win\32\oci920_8
.
***************************************************
* TostartWebLogicServer,useausernameand *
* passwordassignedtoanadmin-leveluser. For*
* serveradministration,usetheWebLogicServer*
* consoleathttp:\\hostname:port\console *
***************************************************
startingweblogicwithJavaversion:
javaversion"1.5.0_22"
Java(TM)2RuntimeEnvironment,StandardEdition(build1.5.0_22-b03)
JavaHotSpot(TM)ClientVM(build1.5.0_22-b03,mixedmode,sharing)
StartingWLSwithline:
D:\SOFTWE~1\Java\JAVA1.5\JDK\bin\java-client -Xms1200m-Xmx1200m-XX:CompileThreshold=8000-XX:PermSize=256m -XX:MaxPermSize=256m -Xverify:none -da-Dplatform.home=C:\bea\WLSERV~1.0-Dwls.home=C:\bea\WLSERV~1.0\server-Dweblogic.home=C:\bea\WLSERV~1.0\server-Dwli.home=C:\bea\WLSERV~1.0\integration -Dweblogic.management.discover=true -Dwlw.iterativeDev=-Dwlw.testConsole=-Dwlw.logErrorsToConsole=-Dweblogic.ext.dirs=C:\bea\patch_wls1000\profiles\default\sysext_manifest_classpath;C:\bea\patch_wlw1000\profiles\default\sysext_manifest_classpath-Dweblogic.Name=SY-Medical-Server-Djava.security.policy=C:\bea\WLSERV~1.0\server\lib\weblogic.policy weblogic.Server
ErroroccurredduringinitializationofVM
Couldnotreserveenoughspaceforobjectheap
CouldnotcreatetheJavavirtualmachine.
好牛逼的内存分配。。。你的机器内存一共多大?
敢不敢把- Xms 设小一点,你给这个JVM最大分配 Xmx 1200m的堆内存,堆内存起始值 Xms也用了1200m,一下子全用光了!!!显然导致了结果。。。“ Couldnotreserveenoughspaceforobjectheap”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。