Tags:
create new tag
view all tags
幻灯片 22 .O {font-size:149%;}

•设置环境变量

–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

Topic revision: r1 - 2009-09-08 - ZhangYao
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback