Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
来源:互联网 发布:淘宝装修图片尺寸 编辑:程序博客网 时间:2024/06/05 08:44
原作者的链接网址:http://blog.csdn.net/huyidada/article/details/57075222
在进行多渠道打包的时候,可能会遇到以下问题,我在上面的博客中找到了解决方案,特此记录一下。
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文件,添加
- 1
2:或者直接在Android Studio中gradle.properties文件中添加下面这行,存在则修改
阅读全文
0 0
- 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
- 查询数据库信息
- stm32F103C8T6学习笔记_C语言基础
- Condition Variables 条件变量
- BEGIN-2 序列求和
- [leetcode]#66. Plus One
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- JDK安装以及HelloWorld测试
- CF543B Destroying Roads(bfs+枚举)
- android 移植 ffmpeg (一)
- 【NOIP2017】图书管理员
- 【Scikit-Learn 中文文档】三:广义线性模型
- MVC设计模式
- python安装成功win32以后仍旧提示找不到模块
- 现代软件工程_团队项目_阿尔法阶段_第三次会议记录_2017.11.15