pycharm运行时提示内存不足解决办法
菜单栏Help-->Edit Custom VM Options
然后把下边的数据替换
替换的内容:
# custom PyCharm VM options -Xms512m -Xmx2048m -XX:ReservedCodeCacheSize=500m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -javaagent:D:\tools\PyCharm 2020.1\lib\jetbrains-agent.jar