关于使用Ant在weblogic上部署ear内存溢出的问题 ( 积分: 100 )

H

hotsoup

Unregistered / Unconfirmed
GUEST, unregistred user!
在执行语句已经加大内存了,还不行
-Xms128m -Xmx512m -XX:MaxPermSize=512m -classpath "%LOCALC
错误如下:
deploy:
[echo] 部署程序......
[java] java.lang.OutOfMemoryError
[java] Exception in thread "main"
build.xml代码如下:
<serverdeploy action="deploy" source="${ear.file}">
<weblogic application="${applicationserver.application}" server="${applicationserver.server}" classpath="${lib.dir}/weblogic.jar" username="${applicationserver.username}" password="${applicationserver.password}" component="${applicationserver.application}:${applicationserver.myserver}" debug="true" >
</weblogic>
</serverdeploy>
 
H

hotsoup

Unregistered / Unconfirmed
GUEST, unregistred user!
在执行语句已经加大内存了,还不行
-Xms128m -Xmx512m -XX:MaxPermSize=512m -classpath "%LOCALC
错误如下:
deploy:
[echo] 部署程序......
[java] java.lang.OutOfMemoryError
[java] Exception in thread "main"
build.xml代码如下:
<serverdeploy action="deploy" source="${ear.file}">
<weblogic application="${applicationserver.application}" server="${applicationserver.server}" classpath="${lib.dir}/weblogic.jar" username="${applicationserver.username}" password="${applicationserver.password}" component="${applicationserver.application}:${applicationserver.myserver}" debug="true" >
</weblogic>
</serverdeploy>
 
Y

yangxiao_jiang

Unregistered / Unconfirmed
GUEST, unregistred user!
把ant所使用的内存增大看看?
set ANT_OPTS=-Xmx500m
 
Top