<small id='FQ1yx'></small><noframes id='FQ1yx'>

    <tfoot id='FQ1yx'></tfoot>

  1. <i id='FQ1yx'><tr id='FQ1yx'><dt id='FQ1yx'><q id='FQ1yx'><span id='FQ1yx'><b id='FQ1yx'><form id='FQ1yx'><ins id='FQ1yx'></ins><ul id='FQ1yx'></ul><sub id='FQ1yx'></sub></form><legend id='FQ1yx'></legend><bdo id='FQ1yx'><pre id='FQ1yx'><center id='FQ1yx'></center></pre></bdo></b><th id='FQ1yx'></th></span></q></dt></tr></i><div id='FQ1yx'><tfoot id='FQ1yx'></tfoot><dl id='FQ1yx'><fieldset id='FQ1yx'></fieldset></dl></div>
      <bdo id='FQ1yx'></bdo><ul id='FQ1yx'></ul>

    1. <legend id='FQ1yx'><style id='FQ1yx'><dir id='FQ1yx'><q id='FQ1yx'></q></dir></style></legend>

    2. Java 无法为对象堆错误保留足够的空间

      Java Could not reserve enough space for object heap error(Java 无法为对象堆错误保留足够的空间)
      <i id='4ZSlS'><tr id='4ZSlS'><dt id='4ZSlS'><q id='4ZSlS'><span id='4ZSlS'><b id='4ZSlS'><form id='4ZSlS'><ins id='4ZSlS'></ins><ul id='4ZSlS'></ul><sub id='4ZSlS'></sub></form><legend id='4ZSlS'></legend><bdo id='4ZSlS'><pre id='4ZSlS'><center id='4ZSlS'></center></pre></bdo></b><th id='4ZSlS'></th></span></q></dt></tr></i><div id='4ZSlS'><tfoot id='4ZSlS'></tfoot><dl id='4ZSlS'><fieldset id='4ZSlS'></fieldset></dl></div>
          <tfoot id='4ZSlS'></tfoot>

              <bdo id='4ZSlS'></bdo><ul id='4ZSlS'></ul>
              1. <legend id='4ZSlS'><style id='4ZSlS'><dir id='4ZSlS'><q id='4ZSlS'></q></dir></style></legend>

                <small id='4ZSlS'></small><noframes id='4ZSlS'>

                  <tbody id='4ZSlS'></tbody>

                本文介绍了Java 无法为对象堆错误保留足够的空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我在 32 位 Windows 和 4 GB RAM 上运行 Java7,但是:

                I have Java7 running on 32-bit Windows and 4 GB RAM, but:

                java -Xmx4G -Xms4G -jar Minecraft.jar 
                java -Xmx3G -Xms3G -jar Minecraft.jar 
                java -Xmx2G -Xms2G -jar Minecraft.jar
                

                ...还是不行.错误:

                ...still does not work. Error:

                虚拟机初始化过程中发生错误
                无法为对象堆保留足够的空间
                错误:无法创建 Java 虚拟机.
                错误:发生了致命异常.程序将会退出.

                Error occurred during initialization of VM
                Could not reserve enough space for object heap
                Error: Could not create the Java Virtual Machine.
                Error: A fatal exception has occurred. Program will exit.

                java -Xmx1G -Xms1G -jar Minecraft.jar 正在工作.为什么?

                推荐答案

                转到开始控制面板系统高级系统设置advanced(tab)环境变量系统变量:

                Go to StartControl PanelSystemAdvanced system settingsadvanced(tab)Environment VariablesSystem VariablesNew:

                Variable name: _JAVA_OPTIONS
                Variable value: -Xmx512M
                

                这篇关于Java 无法为对象堆错误保留足够的空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)

                <small id='IwFlV'></small><noframes id='IwFlV'>

                  <bdo id='IwFlV'></bdo><ul id='IwFlV'></ul>
                    <tbody id='IwFlV'></tbody>

                      1. <tfoot id='IwFlV'></tfoot>

                      2. <i id='IwFlV'><tr id='IwFlV'><dt id='IwFlV'><q id='IwFlV'><span id='IwFlV'><b id='IwFlV'><form id='IwFlV'><ins id='IwFlV'></ins><ul id='IwFlV'></ul><sub id='IwFlV'></sub></form><legend id='IwFlV'></legend><bdo id='IwFlV'><pre id='IwFlV'><center id='IwFlV'></center></pre></bdo></b><th id='IwFlV'></th></span></q></dt></tr></i><div id='IwFlV'><tfoot id='IwFlV'></tfoot><dl id='IwFlV'><fieldset id='IwFlV'></fieldset></dl></div>

                        <legend id='IwFlV'><style id='IwFlV'><dir id='IwFlV'><q id='IwFlV'></q></dir></style></legend>