其他分享
首页 > 其他分享> > there's not enought memory to perform the requrested operation.

there's not enought memory to perform the requrested operation.

作者:互联网

问题:

在这里插入图片描述

原因:idea内存溢出

解决方案:

-Xms512m
-Xmx2048m
-XX:MaxPermSize=2012m
-XX:ReservedCodeCacheSize=2040m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-da
-Djna.nosys=true
-Djna.boot.library.path=

-Djna.debug_load=true
-Djna.debug_load.jna=true
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-Dawt.useSystemAAFontSettings=lcd

把上面的配置信息复制一下,位置如图:在这里插入图片描述
启动项目,OK。

标签:load,preferIPv4Stack,perform,requrested,there,Djna,XX,debug,true
来源: https://blog.csdn.net/chen_2890/article/details/89501254