首页 > 代码库 > Eclipse构建项目时"An internal error occurred during: "Building workspace". Java heap space"

Eclipse构建项目时"An internal error occurred during: "Building workspace". Java heap space"

出现这个错误,eclipse 会卡死,以及自动退出

解决方案 

工程根目录 找到项目中.project文件

删除这两处

  第一处:
 <buildCommand>
         <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
         <arguments>
         </arguments>
<技术分享ildCommand>
第二处:
 <nature>org.eclipse.wst.jsdt.core.jsNature</nature> 

Eclipse构建项目时"An internal error occurred during: "Building workspace". Java heap space"