Heap space out of memory

前端 未结 9 1795
梦如初夏
梦如初夏 2020-11-27 04:33

My application currently consumes quite a lot of memory because it is running physics simulations. The issue is that consistently, at the 51st simulation, Java will throw an

9条回答
  •  北荒
    北荒 (楼主)
    2020-11-27 05:15

    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.

提交回复
热议问题