Difference: OutOfMemory ( vs. 1)

Revision 12009-09-08 - ZhangYao

Line: 1 to 1
META TOPICPARENT name="BookKeeping"
<--[if mso]>  <![endif]-->
幻灯片 22
<--[if ppt]-->
.O {font-size:149%;}
<--.sld {left:0px important; width:6.0in important; height:4.5in important; font-size:103% important;} -->


–JAVA_OPTS="-server -Xms500m -Xmx1024m -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=128m -Djava.awt.headless=true “

•启动虚拟机的时候,加上一个参数:-Xms500m –Xmx1024m

–-Xms <size>设置JVM初始化堆内存大小

–-Xmx <size>设置JVM最大的堆内存大小

•菜单‘run->run...’,选择(x)=Argument标签页下的vm arguments框里输入 -Xmx500m, 保存运行,需要对每个project单独设置

-- ZhangYao - 2009-09-08

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback