Latest IntelliJ 2016.2.3 patch failed due to OutOfMemoryError


IntelliJ prompted me to upgrade to the latest 2016.2.3 release this morning (I am currently on 2016.2.2), so I clicked to install the patch.


In the past,t his has always worked, but today, it failed.  In particular, the patch dialog box displayed the message "Failed to apply patch" and below that had a text area with this text:


Temp. directory: C:\Users\captainmidnight\AppData\Local\Temp\

    at Method)
    at ie.wombat.jbdiff.JBPatch.bspatch(
    at com.intellij.updater.BaseUpdateAction.applyDiff(
    at com.intellij.updater.UpdateAction.doApply(
    at com.intellij.updater.PatchAction.apply(
    at com.intellij.updater.Patch$3.forEach(
    at com.intellij.updater.Patch.forEach(
    at com.intellij.updater.Patch.apply(
    at com.intellij.updater.PatchFileCreator.apply(
    at com.intellij.updater.PatchFileCreator.apply(
    at com.intellij.updater.Runner.doInstall(
    at com.intellij.updater.Runner.access$000(
    at com.intellij.updater.Runner$1.execute(
    at com.intellij.updater.SwingUpdaterUI.lambda$doPerform$2(


Does anyone know how to fix this?

I assume that either I need to somehow allocate more memory to the updater JVM process, or else this patch is buggy in that it needs so much memory?


Please sign in to leave a comment.