我正在尝试玩 Minecraft,更具体地说是 Feed The Beast(一种模式变体),并且在尝试加载时失败并出现以下信息:
Core dumped failed! Try doing ulimit -c unlimited before you start java next time!
当我忘记执行此操作时,这非常烦人,然后我不得不等待很长时间才能加载。 有什么方法可以永久修复此 Java 错误吗?
答案1
按照提示操作。ulimit -c unlimited
在开始游戏之前,在终端运行一下。
从man ulimit
:
User limits - limit the use of system-wide resources. A bash built-in command that provides control over the resources available to the shell and to processes started by it, on systems that allow such control
Syntax
ulimit [-acdfHlmnpsStuv] [limit]
Options
-c The maximum size of core files created.
如果您想要永久的解决方案,请编辑/etc/security/limits.conf
并将第一行更改为:
#<domain> #<type> #<item> #<value>
* soft core unlimited