“insufficient memory for the Java Runtime Environment ” message in eclipse

后端 未结 10 1636
天命终不由人
天命终不由人 2020-12-08 03:51

When I run my Java code in Eclipse, I get the following message:

There is insufficient memory for the Java Runtime Environment to continue.
Native memory all         


        
10条回答
  •  庸人自扰
    2020-12-08 04:43

    If you are on ec2 and wanted to do mvn build then use -T option which tells maven to use number of threads while doing build

    eg:mvn -T 10 clean package

提交回复
热议问题