Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
来源:互联网 发布:js动态添加class样式 编辑:程序博客网 时间:2024/05/22 17:19
1:Error: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/2.14.1/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
You encounter following error:
Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
这意味着JVM没有足够的内存空间。gradle添加以下属性。属性文件将解决你的问题!
解决方案:
1:在个人文件夹( (C:/Users/username/.gradle 或 ~/.gradle))下创建gradle.properties文件,添加
org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m
2:或者直接在Android Studio中gradle.properties文件中添加下面这行,存在则修改
org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m
- Error occurred during initialization of VM; Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap
- tomcat Error occurred during initialization of VM Could not reserve enough space for ?KB object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap Could not
- ant build Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap
- 遇上Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap
- tomcat启动报 Error occurred during initialization of VM Could not reserve enough space for object heap
- AndroidStudio启动错误:Error occurred during initialization of VM Could not reserve enough space for ...
- android studio 的 Error occurred during initialization of VM Could not reserve enough space fo 解决办法
- android studio Error occurred during initialization of VM Could not reserve enough space
- Could not reserve enough space for 1572864KB object heap
- Android 微信支付快速集成案例及有效解决返回值-1
- hdu5723
- jQuery选择器课堂随笔
- Linux内核学习开始
- Quartz的任务的临时启动和暂停和恢复
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- PAT BASIC 1035
- Partition List
- [Azure]使用Azure Powershell输出ASM模式下某个账号中所有订阅下的虚拟网络拓扑
- Node.js最新版在Windows 64位的安装
- 大臣的旅费(2次dfs)
- HTML_3th_表格
- 一个前端工程师的自我修养
- msysgit简单使用教程