Skip to content

Instantly share code, notes, and snippets.

@lazercorn
Forked from haydarai/studio64.exe.vmoptions
Created March 3, 2019 00:16
Show Gist options
  • Save lazercorn/d15ecfbcd176262a14928d17fcd436c7 to your computer and use it in GitHub Desktop.
Save lazercorn/d15ecfbcd176262a14928d17fcd436c7 to your computer and use it in GitHub Desktop.

Revisions

  1. Haydar Ali Ismail created this gist Feb 5, 2017.
    26 changes: 26 additions & 0 deletions studio64.exe.vmoptions
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    # custom Android Studio VM options

    #
    # *DO NOT* modify this file directly. If there is a value that you would like to override,
    # please add it to your user specific configuration file.
    #
    # See http://tools.android.com/tech-docs/configuration
    #
    -server
    -Xms1G
    -Xmx2G
    -XX:MaxPermSize=1G
    -XX:ReservedCodeCacheSize=512m
    -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
    -Didea.paths.selector=AndroidStudio2.1
    -Didea.platform.prefix=AndroidStudio