Oct 12

java.lang.OutOfMemoryError: Java heap space 解决方法 不指定

胖狗剩 , 08:44 , 网站技术 , 评论(5) , 引用(1) , 阅读(833) , Via 本站原创 | |
这个问题的根源是jvm虚拟机的默认Heap大小是64M,可以通过设置其最大和最小值来实现.设置的方法主要是几个.
1.可以在windows 更改系统环境变量
加上JAVA_OPTS=-Xms64m -Xmx512m
2,如果用的tomcat,在windows下,可以在
C:\tomcat5.5.9\bin\catalina.bat  中加上:
set JAVA_OPTS=-Xms64m -Xmx256m
位置在: rem Guess CATALINA_HOME if not defined  这行的下面加合适.
3.如果是linux系统
Linux  在{tomcat_home}/bin/catalina.sh的前面,加
set JAVA_OPTS='-Xms64 -Xmx512'
Tags: ,
Golf Poker Chips
[2010/05/09 18:24]
来源:Golf Poker Chips
内容:Hey, I cant remember if it was you who asked me but this is where I got those clay poker chips for the golf poker game...
MARCIEGolden34 Email Homepage
2010/08/28 16:58
I opine that to get the <a href="http://bestfinance-blog.com">loan</a> from creditors you ought to present a great motivation. But, once I have got a bank loan, because I was willing to buy a house.
Wiley18Dollie Email Homepage
2010/08/31 17:18
Always try to use any chance that life gets you! Thence, writing firms give you an advantage to choose <a href="http://www.bestwritingservice.com/buying-essays.html">buying essays</a> options. So use taht!
Karla34LITTLE Email Homepage
2010/08/31 19:43
I have frequently received premium written essays from that company and that <a href="http://essaysexperts.com/"> online essays</a> is the only one I will use. I genuinely  like that I can dispute with the writer and upload my directions so easily. There are many essay papers services but this are high in my mind, thank you!
BergerVonda31 Email Homepage
2010/09/02 06:04
Don't purchase useless stuff and pay your money for <a href="http://www.qualityessay.com/buy-research-paper.html">buy research paper</a> service, which would help you to get good results.
BonitaBaldwin18 Email Homepage
2010/09/04 10:23
A lot of people do not realize what writing organization is. Thus, they tell that high school students who <a href="http://www.premiumqualityessays.com">buy essay</a> are cheaters. They do not realize how complicated academic papers writing is!
分页: 1/1 第一页 1 最后页
发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]