【发布时间】:2015-04-14 18:41:07
【问题描述】:
我正在尝试将 IntelliJ IDEA 从内部版本 141.177 更新到 141.178。 当更新下载所需的所有文件并开始更新时,我收到此错误:
Temp. directory: /tmp
java.lang.OutOfMemoryError: Java heap space
at ie.wombat.jbdiff.JBPatch.bspatch(JBPatch.java:91)
at com.intellij.updater.BaseUpdateAction.applyDiff(BaseUpdateAction.java:112)
at com.intellij.updater.UpdateAction.doApply(UpdateAction.java:44)
at com.intellij.updater.PatchAction.apply(PatchAction.java:184)
at com.intellij.updater.Patch$3.forEach(Patch.java:308)
at com.intellij.updater.Patch.forEach(Patch.java:360)
at com.intellij.updater.Patch.apply(Patch.java:303)
at com.intellij.updater.PatchFileCreator.apply(PatchFileCreator.java:84)
at com.intellij.updater.PatchFileCreator.apply(PatchFileCreator.java:75)
at com.intellij.updater.Runner.doInstall(Runner.java:295)
at com.intellij.updater.Runner.access$000(Runner.java:18)
at com.intellij.updater.Runner$2.execute(Runner.java:261)
at com.intellij.updater.SwingUpdaterUI$5.run(SwingUpdaterUI.java:191)
at java.lang.Thread.run(Thread.java:745)
/tmp 文件夹应该在我的根分区上,它有 20GiB 大小,目前它还剩下大约 8GiB。所以我真的不明白现在可能出现什么问题。另外我不确定 RAM 部分,我的系统在更新时使用了 40% 的 RAM。
【问题讨论】:
-
似乎是每个人在重试时都会随机运行...对我不起作用。
-
这是内存错误,不是磁盘空间错误。通常有一些方法可以增加 jvm 的大小,但我不确定这如何与更新程序一起使用。长镜头,也许 - 你的 JAVA_OPTS 设置是什么,如果有的话?
-
不知道它们,可能没有设置任何东西。
-
尝试其他更新方式(下载完整包)
标签: java intellij-idea