An internal error occurred during: "Building workspace". Java heap space
<p>An internal error occurred during: "Building workspace".
Java heap space. How can I resolve this problem?</p>

<p>Previously I was using Eclipse Kepler for my application and now I upgraded to Eclipse Mars. And I did all necessary configurations. Also I upgraded from JAVA 7 to JAVA 8. After resolving all internal problems occurred and completed my configs, While cleaning &amp; building work-space I faced this issue saying "An internal error occurred during: "Building workspace". Java heap space"</p>