Upgrade to 162.1120.10 fails - out of memory

RubyMine wants to update to build 161.1120.10. The process fails due to Out of Memory. How to fix?

java.lang.OutOfMemoryError
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:326)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)
    at ie.wombat.jbdiff.JBPatch.bspatch(JBPatch.java:149)
    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:280)
    at com.intellij.updater.Runner.access$000(Runner.java:17)
    at com.intellij.updater.Runner$1.execute(Runner.java:246)
    at com.intellij.updater.SwingUpdaterUI.lambda$doPerform$2(SwingUpdaterUI.java:186)
    at java.lang.Thread.run(Thread.java:745)

3 comments
Comment actions Permalink

I rebooted my Win7 PC and the update worked.

BTW, its not a memory problem as I have plenty of memory. I was looking for a JVM setting but couldn't find one that controls the updater.

0
Comment actions Permalink

Probably there was little space left in tmp folder (and reboot helped).

0

Please sign in to leave a comment.