Android Studio cannot start the Gradle and cannot start the daemon

Source: Internet
Author: User

Error:unable to start the daemon process. This problem might is caused by incorrect configuration of the daemon. For example, a unrecognized JVM option is used. Refer to the User Guide chapter on the daemon at Https://docs.gradle.org/4.1/userguide/gradle_daemon.htmlPlease Rea  d The following process output to find out more:-----------------------Error occurred during initialization of Vmcould not Reserve enough space for 1048576KB object heap

Workaround: Edit the Studio.exe.vmoptions file to reduce the maximum heap memory for Android Studio to 512Mb.

vmoptions文件在 Android Studio安装目录\bin\studio.exe.vmoptions 或 studio64.exe.vmoptions

Studio.exe.vmoptions 32-bit

Studio64.exe.vmoptions 64-bit

 Configuring the IDE for low-memory machines

Android Studio cannot start the Gradle and cannot start the daemon

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.