android开发Android studio卡顿配置studio64.exe.vmoptions文件的解决方法

备份一下studio64.exe.vmoptions写法:

-Xms2g
-Xmx16g
-XX:ReservedCodeCacheSize=2g
-XX:+IgnoreUnrecognizedVMOptions
-XX:+UseG1GC
-XX:SoftRefLRUPolicyMSPerMB=100
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-da
-Djna.nosys=true
-Djna.boot.library.path=
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Didea.platform.prefix=AndroidStudio
-Didea.jre.check=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Djna.boot.library.path=
-Didea.vendor.name=Google
-Dkotlinx.coroutines.debug=off
posted @ 2023-08-03 10:59  yongfengnice  阅读(311)  评论(0编辑  收藏  举报