IDEA shuts down when I choose 'Retrieve Metadata'

Issue #1732 resolved
Jeff May created an issue

IDEA 2020.2.3 and IC 2.1.4.3 on Ubuntu

I click the ‘Retrieve Metadata’ from the toolbar or menu, and IDE closes even before the modal appears.

I looked at default IDEA logs and didn’t see anything, but happy to provide more logging specifics if you know what logging you’d like.

Comments (3)

  1. Scott Wells repo owner

    I've heard about similar from a small number of other users. It appears that there may be an issue with the JetBrains OpenJDK on certain Intel hardware. You can find out more here:

    https://youtrack.jetbrains.com/issue/JBR-2310

    I have a Surface Laptop 3 and had also been experiencing numerous crashes of both the IDE and even the entire OS.

    The solution is to get an OS update that includes Intel microcode 50, but that's not available for all OSes. It's out for Mac and some Linux distributions, but I don't think any Windows machines have it yet (including my Surface Laptop 3).

    The workaround is to add these JVM arguments for the IDE:

    -XX:-TieredCompilation, -XX:TieredStopAtLevel=1 and -XX:UseAVX=2
    

    using Help>Edit Custom VM Options. Please try that and let me know if it doesn't resolve the issue for you. I've already been discussing this extensively with JetBrains as it seems to be affecting a growing handful of customers.

  2. Jeff May reporter

    Thanks for the amazing detail. Adding the VM settings to IDEA seems to have worked for me.

  3. Scott Wells repo owner

    Glad to hear! I'm resolving this but if you do see such a crash again, please feel free to reopen with details.

  4. Log in to comment