![]() ![]() There's an upper value for -Xmx which may be related to the amount of memory in your system. Once I copy the file ( in my case) over and modify it, the change is respected. And they are in the old (ignored) location. Odd that there is no such file upon a clean install of Android Studio 1.1 from the developer site. Per the following Google documentation, the file to be modified should be here: %USERPROFILE%\.AndroidStudio\ On Windows 7, the configuration files at \bin seem to be ignored. UPDATE : Android Studio 2.0 let's you modify this file by accessing "Edit Custom VM Options" from the Help menu, just copy and paste the variables you might want to keep in order to increase it for everversion you might have on your box. ![]() You can customize your values according to your need in my case 2048Mb is enough. export STUDIO_VM_OPTIONS=/Users/youruser/.AndroidStudioSettings/studio.vmoptionsĪnd now as you can see using the status bar, I have more than 2000 MB available for Android Studio:.Then I added the STUDIO_VM_OPTIONS environment variables in my. Then I created a file called studio.vmoptions, and I put in that file the following content: -Xms256m I will describe what I did:įirst I created a directory that I called. I tried what google described but for me the only thing that it worked was to use an environment variable. I increased my memory following the next Google documentation:īy default Android Studio is assigned a max of 750Mb, I changed to 2048Mb. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |