简体   繁体   English

“ VM初始化期间发生错误,无法为1048576KB对象堆保留足够的空间”

[英]“Error occurred during initialization of VM Could not reserve enough space for 1048576KB object heap”

Whenever I started Android studio to begin a project it's showing 每当我启动Android Studio开始一个项目时,它就会显示

Error occurred during initialization of VM Could not reserve enough space for 1048576KB object heap. VM初始化期间发生错误无法为1048576KB对象堆保留足够的空间。

I've searched through without any tangible solution. 我搜索没有任何切实的解决方案。

I'm wondering what could have gone wrong. 我想知道可能出了什么问题。

I need help. 我需要帮助。

Did you try this too ? 您也尝试过吗? :

"Here is how to fix it: Go to Start->Control Panel->System->Advanced(tab)->Environment Variables->System “这里是解决方法:转到“开始”->“控制面板”->“系统”->“高级(选项卡)->环境变量->系统

Variables->New: Variable name: _JAVA_OPTIONS 变量->新建:变量名称:_JAVA_OPTIONS
Variable value: -Xmx512M 变量值:-Xmx512M

Variable name: Path 变量名称:路径
Variable value: ;C:\\Program Files\\Java\\jre6\\bin;F:\\JDK\\bin; 变量值:; C:\\ Program Files \\ Java \\ jre6 \\ bin; F:\\ JDK \\ bin;
Change this to your appropriate path." 将此更改为您合适的路径。”

There are a few other solutions here: “Error occurred during initialization of VM; 这里还有其他一些解决方案: “ VM初始化期间发生错误; Could not reserve enough space for object heap” using -Xmx3G -Xmx3G无法为对象堆保留足够的空间”

暂无
暂无

声明:本站的技术帖子网页,遵循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 堆 Android Studio 保留足够的空间 - Error occurred during initialization of VM Could not reserve enough space for object heap Android Studio 初始化 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初始化期间发生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