Chinaunix首页 | 论坛 | 博客
  • 博客访问: 67015
  • 博文数量: 36
  • 博客积分: 2510
  • 博客等级: 少校
  • 技术积分: 410
  • 用 户 组: 普通用户
  • 注册时间: 2009-04-04 12:39
文章分类

全部博文(36)

文章存档

2010年(1)

2009年(35)

我的朋友
最近访客

分类: LINUX

2009-04-04 21:00:33

first, you can read this article:
http://hi.baidu.com/dearfenix/blog/item/1b0ce80e64ca12ce7bcbe109.html

then, try the following:
1) enter you eclipse home directory, find eclipse.ini, add some parameter to JVM, finally, it look as,
-showsplash
org.eclipse.platform
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
-XX:PermSize=256m
-XX:MaxPermSize=512m

Xms means minimal size JVM can use, Xmx means max one.

2) if the problem still exist, you must configure your project:

right click you project in eclipse->Property->Run/Debug Settings->select your project entry->click "Edit" button -> open argument tab -> input -Xms512m -Xmx768m in VM arguments.


阅读(509) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~