【发布时间】:2022-05-15 23:36:17
【问题描述】:
我刚开始制作我的世界模组,一切都很顺利,直到我运行程序 (minecraft forge 1.12.2)。它说:
Initial heap size set to a larger value than the maximum heap size can
after that: picked up _JAVA_OPTIONS: -Xmx512M
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release.
当我检查我的环境vraiables时,我找到了_JAVA_OPTIONS并删除了它,但问题仍然存在,我该怎么办?
我使用的是 Windows 10 计算机,并且有 8 GB 内存。
【问题讨论】:
-
看看这里stackoverflow.com/questions/9350437/…。很可能设置最小堆大小(例如
-Xms512M)会有所帮助。 -
谢谢你,它成功了!
-
很高兴听到,您能否发布您所做的确切说明作为答案并接受它?
标签: java environment-variables minecraft-forge