简体   繁体   English

VM 初始化时出错 无法为 object 堆 Android Studio 保留足够的空间

[英]Error occurred during initialization of VM Could not reserve enough space for object heap Android Studio

This problem might be caused by incorrect configuration of the daemon.此问题可能是由于守护程序配置不正确造成的。 For example, an unrecognized jvm option is used.例如,使用了无法识别的 jvm 选项。 Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/6.5/userguide/gradle_daemon.html Process command line: C:\Program Files\Java\jdk1.8.0_271\bin\java.exe -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country=IN -Duser.language=en -Duser.variant -cp C:\Users\srith.gradle\wrapper\dists\gradle-6.5-bin\6nifqtx7604sqp1q6g8wikw7p\gradle-6.5\lib\gradle-launcher-6.5.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.5 Please read the following process output to find out more: Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/6.5/userguide/gradle_daemon.html Process command line: C:\Program Files\Java\jdk1.8.0_271\bin\java.exe -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country=IN -Duser.language=en -Duser.variant -cp C:\Users\srith.gradle\wrapper\dists\gradle-6.5-bin\6nifqtx7604sqp1q6g8wikw7p\gradle -6.5\lib\gradle-launcher-6.5.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.5 请阅读以下进程Z78E6221到1F6393D14CEDZ86

Error occurred during initialization of VM Could not reserve enough space for object heap VM 初始化时出错 无法为 object 堆保留足够的空间


Check the JVM arguments defined for the gradle process in:检查为 gradle 过程定义的 JVM arguments:

  • gradle.properties in project root directory项目根目录中的 gradle.properties

In my case the issue was with the Wifi Hotspot was turned on and the daemon was not able to communicate as far as I found就我而言,问题在于 Wifi Hotspot 已打开,并且据我所知,守护进程无法通信

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 VM初始化期间发生错误; 无法为对象堆保留足够的空间; 无法创建Java虚拟机 - Error occurred during initialization of VM; Could not reserve enough space for object heap; Could not create the Java virtual machine VM 初始化过程中发生错误 无法为对象堆保留足够的空间 无法创建 Java 虚拟机 - Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine “虚拟机初始化时出错; 无法为对象堆保留足够的空间”使用 -Xmx3G - “Error occurred during initialization of VM; Could not reserve enough space for object heap” using -Xmx3G 初始化 VM 时出错,无法为 object 堆预留足够的空间 - Error occurred during initialization of VM, Could not reserve enough space for object heap 解决方法:“ VM初始化期间发生错误; 无法为对象堆保留足够的空间” - How to resolve this : “Error occurred during initialization of VM; Could not reserve enough space for object heap” VM初始化期间发生错误,无法为对象堆保留足够的空间 - Error occurred during initialization of VM Could not reserve enough space for object heap “ VM初始化期间发生错误,无法为1048576KB对象堆保留足够的空间” - “Error occurred during initialization of VM Could not reserve enough space for 1048576KB object heap” VM初始化期间发生Java错误无法为对象堆保留足够的空间 - Java Error occurred during initialization of VM Could not reserve enough space for object heap 初始化VM时出错,无法为对象堆保留足够的空间 - Spring Tool Suite? - Error occured during initialization of VM, Could not reserve enough space for object heap - Spring Tool Suite? VM初始化期间发生错误:无法为对象堆保留足够的空间 - Error occured during initialization of VM: Could not reserve enough space for object heap
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM