WebStorm 2024.1.5 got very laggy

It happened with my old version too, but after a while of using webstorm, now happens after few minutes or hours.
if I restarted, start to work normally, but get laggy again.

I followed https://www.jetbrains.com/help/webstorm/how-to-improve-product-performance.html
But nothing improved.

I had changed memory from 4gb to 80gb, (maybe takes longer to get laggy, not sure)




WebStorm 2024.1.5
Build #WS-241.18034.50, built on June 19, 2024
Licensed to Cesar Ramos
Subscription is active until September 4, 2024.
Runtime version: 17.0.11+1-b1207.24 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.5
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 20
Metal Rendering is ON
Registry:
 debugger.valueTooltipAutoShowOnSelection=true
 debugger.new.tool.window.layout=true
 ide.experimental.ui=true
Non-Bundled Plugins:
 nl.bryanderidder.regexrenamefiles (1.3.0)
 com.bluewaitor.tsReact (1.4.0)
 com.jinsihou.react.snippets (1.1.1)
 ru.adelf.idea.dotenv (2024.1)
 com.github.copilot (1.5.12.5943-nightly)
 org.intellij.prisma (241.14494.140)
 

0
1 comment

As an initial step, I'd suggest reducing the Xmx value at Help | Change Memory Settings to 6Gb at most, as basically the JVM takes the entire heap size (Xmx), it doesn't run the garbage collector aggressively before the heap size limit is reached. This can cause high RAM usage and overall IDE slowdown. That's why we don't recommend setting the max heap to huge numbers.
If it doesn't help, would it be possible to capture a CPU snapshot while reproducing the issue:

  1. Help > Diagnostic tools > Start CPU usage profiling
  2. perform the actions which are causing the problem
  3. Help > Diagnostic tools > Stop CPU usage profiling

and share it within a support ticket?

0

Please sign in to leave a comment.