• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

I can't edit studio.exe file in Android Stuido 1.3

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm running Android Studio 1.3 (I think it was the latest version) in a 4GB RAM pc, I've searched about how to make Android Studio take less memory so that I can run it better in my low spec pc, so far I've found the following questions:

***android-studio-is-very-slow***
[https://stackoverflow.com/questions/19265819/android-studio-is-very-slow][1]

and
***android-studio-takes-too-much-memory***
[https://stackoverflow.com/questions/27176353/android-studio-takes-too-much-memory][2]

In those question people suggested to low the memory value in the `Xmx` attribute from `750m` to `256m` in the studio.exe vmoptions file the folder `/Applications/Android\ Studio.app/Contents/bin/studio.vmoptions` I looked in the offcial documentation here: [https://sites.google.com/a/android.com/tools/tech-docs/configuration][3] and there it says that is not recomended to edit those files, they advice to create a custom file, but I don't know how to do this.

Questions:

1) Should I create a whatever.exe vmoptions file in that folder with the change? and what should I do with the original file? and how android studio would know to read from my custom file instead of the original file.

2) In the official documentation says that edit that file but it says that that file is in this path `%USERPROFILE%\.{FOLDER_NAME}\studio.exe.vmoptions and/or %USERPROFILE%\.{FOLDER_NAME}\studio64.exe.vmoptions` but I can't find the file in that path, instead i founded in this path `/Applications/Android\ Studio.app/Contents/bin/studio.vmoptions`.

What I did before asking:

Before asking i tried to edit this file `/Applications/Android\ Studio.app/Contents/bin/studio.vmoptions` but it says that this file is already opened by another program or that it can't be saved.

I did this with android studio closed and I pretty sure that this file it's not opened by another program.

[1]: https://stackoverflow.com/questions/19265819/android-studio-is-very-slow
[2]: https://stackoverflow.com/questions/27176353/android-studio-takes-too-much-memory
[3]: https://sites.google.com/a/android.com/tools/tech-docs/configuration
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!