About Android Studio Virtual machine error

Source: Internet
Author: User

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6D/AA/wKioL1VpW2DjaTC7AAE7JynCbZY524.jpg "title=" Not enough memory. png "alt=" wkiol1vpw2djatc7aae7jyncbzy524.jpg "/>

This is a search on the internet a way to share with you

Open Gradle.properties, and then add # org.gradle.jvmargs=-xmx512m-xx:maxpermsize=512m.


Daniel explains that Android studio has a default memory of 10G, and our notebooks are basically 4G 8G. But Daniel changed to 2G 1G also not, only 512m line, this is the bug of Android Studio

Hope to be helpful to everyone


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6D/AA/wKioL1VpW_zS-CaKAALWjd9-dQs312.jpg "title=" solution. jpg "alt=" wkiol1vpw_zs-cakaalwjd9-dqs312.jpg "/>

This article is from the "Android 0 to 1 Process" blog, be sure to keep this source http://nomeatnofat.blog.51cto.com/10289035/1656609

About Android Studio Virtual machine error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.