I ran into JBR-6830. When using Intellij IDEA on KDE Plasma 6 (OpenSUSE Tumbleweed), I was getting random very noticeable lag spikes. The solution was to add
-Dwatch.desktop.geometry=false
to the Intellij IDEA custom VM options.
No more lag spikes!