Build Project’has encoutered a problem. 解决方法
来源:互联网 发布:unity3d base64 编辑:程序博客网 时间:2024/06/05 06:59
用eclipse build project 时,运行到一半时,报
‘Build Project’has encoutered a problem.An internal error occurred during:"Build Project": gc overhead limit exceeded
。还可能报:An internal error occurred during:"Build Project".Java heap space.
这些都是因为Eclipse默认配置内存太小的原因。可以打开Eclipse安装文件夹下的eclipse.ini文件。
将-Xms 和 -Xmx 改大,如改成:-Xms512m -Xmx1024m
第一个是最小的初始化内存,第二个是最大的占有内存
还可以加上 -XX:MaxPermSize=1024m这个意思是在编译文件时一直占有最大内存。
重新启动eclipse,再进行clean,顺利build project。
0 0
- Build Project’has encoutered a problem. 解决方法
- Eclipse中导入其他来源的project时报错:setting build path has encountered a problem的解决方法
- Android ndk 编译出现'Build Project' has encountered a problem.Errors occurred during the build
- 'Setting build path' has encountered a problem
- 'Open Project' has encountered a problem
- Eclipse中出现Setting build path has encountered a problem的解决方法
- Building workspace has encountered a problem. Errors during build
- Building workspace has encountered a problem. Errors during build
- Building workspace has encountered a problem. Errors during build.
- A cycle was detected in the build path of project Build path Build Path Problem(Eclipse)
- "reload maven project' has encountered a proble" 解决方法
- 'Running Android Lint' has encountered a problem.解决方法
- Eclipse导入包提示Setting build path has encountered a problem
- (转)Eclipse导入包提示Setting build path has encountered a problem
- MyEclipse 保存文件 和 启动时 报Building workspace has encountered a problem. Errors during build
- myeclipse报错:Building workspace' has encountered a problem. Errors occurred during the build
- cleaning selected projects has encountered a problem errors occurred during build
- cleaning selected projects has encountered a problem errors occurred during build
- MySQL配置
- (hdu step 6.1.3)畅通工程(求需要添加多少条边才能让n个点连通)
- 将本地代码库和Github同步
- 1000~2000年的闰年
- mac通过ssh上传文件到linux ubuntu虚拟机
- Build Project’has encoutered a problem. 解决方法
- POJ 3254 Corn Fields (状压)
- Linux locale详解
- 31、MySQL-数值函数
- http
- VirtualBox开机自动挂载
- Android SlidingMenu侧滑菜单使用
- 32、MySQL-字符串函数
- acm2020