![](/img/trans.png)
[英]CoordinatorLayout not working in Android Studio 2.1.2?
[英]android studio increasing heap size not working on 2.1.2
当我更改为bin / studio.vmoptions时,android studio的堆大小不会增加。 studio.vmoptions
文件为:
#
# *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
#
-Xms256m
-Xmx4096m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=200m
-XX:+UseCompressedOops
但是堆大小仍然是676mb。 我该如何解决?
在Android Studio中,按“帮助”菜单,然后选择“编辑自定义VM选项”。 这应该打开正确的文件。
请注意,在我的情况下,这确实是正确的文件,但是*DO NOT* modify this file directly
。 所以我只是忽略了它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.