• flutter AndroidStudio 报错


    Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details

    FAILURE: Build failed with an exception.

    * What went wrong:
    Unable to start the daemon process.
    This problem might be caused by incorrect configuration of the daemon.
    For example, an unrecognized jvm option is used.
    Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.4/userguide/gradle_daemon.html
    Please read the following process output to find out more:
    -----------------------
    Error occurred during initialization of VM
    Could not reserve enough space for 1572864KB object heap

    解决方案:

    直接在Android Studio中gradle.properties文件中添加下面这行,存在则修改:

    org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m

  • 相关阅读:
    java内存泄露
    hbase java api
    配置CRT远程登录
    kafka分区消费模型
    JAVA内存区域
    JVM分代和垃圾回收
    spring中bean的作用域
    分布式RPC
    session共享
    ZooKeeper实现分布式session
  • 原文地址:https://www.cnblogs.com/yuhaoo/p/11004074.html
Copyright © 2020-2023  润新知