javac: java.lang.OutOfMemoryError when running ant from Eclipse

前端 未结 5 866
天涯浪人
天涯浪人 2021-02-13 19:16

I have given loads of memory to eclipse in the ini file but its still not using anything more than 300mb which i can see in the task manager.

  [javac] The syst         


        
5条回答
  •  星月不相逢
    2021-02-13 19:47

    your eclipse.ini settings will take effect only if u change following:

    Run -> External Tools -> External Tool

    Configurations. go to configuration that u use, under jre tab -select option

    Run in same JRE in workspace



    this worked 4 me

提交回复
热议问题