Eclipse heap space (out of memory error)

前端 未结 3 1968
盖世英雄少女心
盖世英雄少女心 2021-02-06 12:07

I am facing memory issue in eclipse. Initially I was getting this error: ‘Unhandled event loop exception java heap space’ and also sometimes ‘An out of memory error has occured’

3条回答
  •  眼角桃花
    2021-02-06 12:48

    I also faced the same problem.I resolved by doing the build by following steps as.

    -->Right click on the project select RunAs ->Run configurations

    Select your project as BaseDirectory. In place of goals give eclipse:eclipse install

    -->In the second tab give -Xmx1024m as VM arguments.

提交回复
热议问题