insufficient memory for the Java Runtime Environment to continue though RAM is showing 6 GB free space

后端 未结 4 1773
挽巷
挽巷 2021-02-14 06:44

While running java application I\'m getting the following memory dump.

After installing java 8(with java 7 application was working before) I started getting the below er

4条回答
  •  攒了一身酷
    2021-02-14 07:27

    Java, by default, does not uses all avalaible memory. You need to run the application with the corresponding parameters.

    See this question to all the details. (It can change with the version of Java).

    The parameter setting can be set on the command line but if you use an application you may have some configuration file. For example, in Eclipse you have eclipse.ini where you an set your memory preferences.

提交回复
热议问题