dennismayr

Android Studio studio64.vmoptions

Oct 18th, 2021 (edited)
485
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # custom Android Studio VM options, see https://developer.android.com/studio/intro/studio-config.html
  2. # Heap size
  3. -Xms2g
  4. -Xmx2g
  5.  
  6. # Java GC:
  7. -XX:+UseG1GC
  8.  
  9. # IntelliJ / AS standard
  10. -ea
  11. -Djdk.attach.allowAttachSelf=true
  12. -Djdk.http.auth.tunneling.disabledSchemes=""
  13. -Djdk.module.illegalAccess.silent=true
  14. -Dkotlinx.coroutines.debug=off
  15. -Dsun.io.useCanonCaches=false
  16. -Dsun.tools.attach.tmp.only=true
  17. -XX:SoftRefLRUPolicyMSPerMB=50
  18. -XX:+HeapDumpOnOutOfMemoryError
  19. -XX:-OmitStackTraceInFastThrow
  20. -XX:ReservedCodeCacheSize=768m
  21.  
  22. # Extra options
  23. -XX:MetaspaceSize=1g
  24. -XX:+TieredCompilation
  25. -XX:CICompilerCount=2
  26. -Xss16m
  27. -XX:ConcGCThreads=2
  28.  
RAW Paste Data