IDEA freezes when opening settings

已回答

Hi,

I installed the last version of IDEA. Unfortunately, when attempting to open the File->settings, IDEAfreezes and I've no choice but kill the relative process and restart it, which is quite frustrating.

This behaviour happens always when unsing the IDE for some opration, which makes me think of a memory issue.

Here's the information given by the Help > About menu:

Runtime version: 11.0.9.1+11-b1145.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 4046M
Cores: 6
Registry: debugger.watches.in.variables=false, compiler.automake.allow.when.app.running=true
Non-Bundled Plugins: CheckStyle-IDEA, com.alibaba.p3c.smartfox, ru.artyushov, cn.wuzhizhan.plugin.mybatis, cn.yiiguxing.plugin.translate

And heres' the phpstorm64.exe.vmoptions file content:

-Xms1024m
-Xmx2048m
-XX:ReservedCodeCacheSize=512m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-ea
-Dsun.io.useCanonCaches=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off

IU-203.7148.57, JRE 11.0.9.1+11-b1145.77x64 JetBrains s.r.o., OS Windows 10(amd64) v10.0 , screens 5760.0x3240.0, 2560.0x1440.0

0

Hello,

Can you please collect additional information for the investigation?

  • Quit the IDE.
  • Remove the plugins folder.
  • Remove the IDE logs folder.
  • Launch the IDE and reproduce the problem.
  • Collect diagnostic data. (Help | Collect Logs and Diagnostic Data)

The files can be uploaded at https://uploads.jetbrains.com. (do not forget to specify the UploadID)

 

0

Hi Klepikov,

   I have the same issue. I upload the diagnostic data at Upload id: 2022_12_30_kfKDxywP35QhoqfBpxmriA (file: idea-logs-20221231-00433717228083077880150737.zip)

   My PC has 16GB RAM, OS is Windows 10. But I use it with WSL2.

0

Hi Allenlincg, In your case, the IDE freezes on performing I/O operations:

"AWT-EventQueue-0" prio=0 tid=0x0 nid=0x0 runnable
   java.lang.Thread.State: RUNNABLE (in native)
  at java.base@17.0.5/java.io.RandomAccessFile.open0(Native Method)
  at java.base@17.0.5/java.io.RandomAccessFile.open(RandomAccessFile.java:344)
  at java.base@17.0.5/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
  at java.base@17.0.5/java.io.RandomAccessFile.<init>(RandomAccessFile.java:213)
    at java.base@17.0.5/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1312)

See if excluding these files/folders from Windows Defender scan helps https://youtrack.jetbrains.com/issue/IDEA-293604/IntelliJ-is-hanging-during-build-process-and-indexing-process-when-working-on-the-WSL-projects.#focus=Comments-27-6188887.0-0 .

Disabling Windows Defender real-time protection might also help.

0

Hi Klepikov,
   Thank you for your help. It works well after I exclude the folders on WSL. 

0

Hi,
I experience the same issue. Every time I open settings, everything freezes, and the settings tab doesn't populate (stays blank) but also can't be closed. I have to kill the application. I've uploaded the diagnostics as you suggested above - Upload id: 2025_08_08_dxiHfYq7y4fW2QuyjZntxA (file: idea-logs-20250808-1435032437634113684926495.zip)

0
Could you test by disabling custom plugins via Settings | Plugins | ⚙ | Disable all downloaded plugins.? From the thread it seem the problem might be with theme assets.
0

请先登录再写评论。