eclipse里面启动weblogic报错,在外部启动就正常。什么问题

御风林海 发布于 2013/08/21 14:35
阅读 2K+
收藏 1

eclipse里面启动weblogic报错,在外部启动就正常。在eclipse里启动报错,信息如下,急啊。。。

weblogic Could not reserve enough space for object heap

could not create the java virtual machine...

是什么问题?怎么设置

加载中
1
xue777hua
xue777hua

好牛逼的内存分配。。。你的机器内存一共多大?

敢不敢把 -Xms设小一点,你给这个JVM最大分配 Xmx1200m 的堆内存,堆内存起始值Xms也用了1200m,一下子全用光了!!!显然导致了结果。。。“Could not reserve enough space for object heap

0
御风林海
御风林海

报错信息补充:

JAVA Memory arguments: -Xms1200m -Xmx1200m -XX:CompileThreshold=8000 -XX:PermSize=256m  -XX:MaxPermSize=256m
.
WLS Start Mode=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:\Program Files\Common Files\Microsoft Shared\Windows Live;E:\oracle\product\10.2.0\db_1\bin;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86;D:\softweares\Java\JDK\bin;D:\softweares\jboss\bin;D:\softweares\SVN\bin;D:\softweares\msysgit\bin;C:\Program Files\Windows Live\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:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\bea\WLSERV~1.0\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.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
Starting WLS with line:
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
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.


0
御风林海
御风林海

引用来自“xue777hua”的答案

好牛逼的内存分配。。。你的机器内存一共多大?

敢不敢把 -Xms设小一点,你给这个JVM最大分配 Xmx1200m 的堆内存,堆内存起始值Xms也用了1200m,一下子全用光了!!!显然导致了结果。。。“Could not reserve enough space for object heap

解决了,把weblogic的内存调小一些就可以。。谢谢。。
返回顶部
顶部