Posted on Leave a comment

How to Allocate More Than 8GB RAM for Android Studio?

People discuss jvm options.

-Xms512m
-Xmx4g
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:+IgnoreUnrecognizedVMOptions
-XX:MaxJavaStackTraceDepth=10000
-ea
-Dsun.io.useCanonCaches=false
-Dsun.java2d.metal=true
-Djbr.catch.SIGABRT=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-XX:CICompilerCount=2
-XX:ReservedCodeCacheSize=512m
-XX:+UnlockDiagnosticVMOptions
-XX:TieredOldPercentage=100000
-XX:SoftRefLRUPolicyMSPerMB=50
-Dapple.awt.application.appearance=system
Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.