Exception in thread “main” java.lang.OutOfMemoryError: Java heap space

Exception in thread “main” java.lang.OutOfMemoryError: Java heap space

It worked fine for me .

Right click on project which you want to run . Run As -> Run configuration ->Arguments .

Then in VM arguments:

-Xmx1g

发表评论

电子邮件地址不会被公开。 必填项已用*标注