Contextual menus are slow
已回答
Yesterday I upgraded to version 2024.3 but I am experiencing serious problems opening context menus are slow and even creating a file becomes a nightmare.
Is this a known problem? are there any solutions?
My client's project has over thirty maven modules but the previous version of IDEA could handle.
请先登录再写评论。
The problem may be caused from low disk space.
If adding disk space doesn't solve the problem, see if it helps to apply the solutions from this guide: https://youtrack.jetbrains.com/articles/SUPPORT-A-594
I had the exact same issue when upgrading to 2024.3 as well, definitely not related to low disk space. Ultimately I changed the boot Java runtime from the bundled that comes with it to Oracle JDK 21 and the issues went away. Note that the bundled JRE seems to have some update swing or whatever UI code that is being used by the IDE, so when doing this you will revert to old style top menu and fonts may not be the same. This wasn't an issue for me, I was just happy to get performance back to normal.
I am currently running the JetBrains suite with an AMD Ryzen 9 3900X with 64GB RAM and GeForce RTX 2080 SUPER, I am using KDE Plasma updated to the latest version with proprietary NVidia drivers on Gentoo which is using OpenRC as its init system.
Regarding the Java runtime environment, I am using the following version:
Runtime version: 21.0.6+8-b631.39 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Moonkev
1) please specify your OS. If it's Linux, please specify your Linux version, Window manager (Gnome, KDE, etc), and if you have Wayland or x11 (echo $XDG_SESSION_TYPE).
2) Do you have NVidia video card?
Enrico Russo 84
1. Can you temporarily switch to open-source NVidia drivers or temporary use a different video card?
2. Do you use pure wayland or xWayland mode? If xWayland (default), please turn on pure Wayland mode.
To turn on pure Wayland, add `-Dawt.toolkit.name=WLToolkit` to “Help | Edit custom VM options” and restart
Thanks for the response Nadia. This was on Windows 10 running on VMWare Horizon (using Horizon Indirect Display Driver, not sure of the underlying GPU if even one). I run IntelliJ IDEA 24.3 on both MacOS Sonoma and Ubuntu 24.04.2 LT as well, both with the bundled Java runtime and do not have any issues on those operating systems.
OS: Gentoo (X11) with OpenRC
Kernel: 6.12.17-gentoo-x86_64
GeForce RTX 2080 SUPER
1. Currently not because I am about to leave and the PC needs to remain stable for work;
2. No, because NVidia cards works bad with Wayland (glitches and flickers).
Again thank you for your kindness.
@Moonkev , this is a different issue. Performance issues of this type are OS-specific. Please contact support@jetbrains.com for further assistance, or file a new ticket in YouTrack, or start a new thread here.
Enrico Russo 84
1. Does it apply to all of the context menus? Please share the screenshot of the context menu, so we will be on the same page.
Example: right-click in the Editor
2. Please reproduce the issue (run the IDE and wait for 2-5 minutes until all background processes will be finished, and open the context menu) and notice the time on your system clock when you see the freeze.
3. Send us the log (`Help | Collect Logs and Diagnostic Data...`) and the time you noticed.
FYI: Had the same issue,
File > Invalidate Cachessolved the problem.