title: Increasing heap size in eclipse
body: <p>I have a problem increasing heap size in Eclipse Luna. While I run my build, it is failing because of reaching the maximum heap size.</p>
  
  <p>I tried all the following options. </p>
  
  <p>Increasing the heap size in eclipse.ini<a href="https://i.stack.imgur.com/VJBNy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VJBNy.png" alt="My eclipse.ini file"></a></p>
  
  <p>Then I tried starting the eclipse from command line using this command.
  C:\eclipse>eclipse -clean -vmargs -XX:MaxPewrmSize=4G -Xmx4G</p>
  
  <p>And to just change the heap size while running the application, tried to change the heap size Xmx in varaible arguments and program arguments.</p>
  
  <p>All to no avail. What ever change I make, it is not getting reflected in my heap size in eclipse. Please help.</p>