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.
阅读(711) | 评论(0) | 转发(0) |