PyCharm keeps freezing with GC overhead limit exceeded on 16GB
PyCharm 2023.3.4, Windows 11, 16GB RAM, project with about 5000 files including a vendored JS bundle. The IDE freezes every 20 minutes with java.lang.OutOfMemoryError: GC overhead limit exceeded in idea.log. I set -Xmx4096m in vmoptions but it still happens. What else can I do? I'm about to start hiding files just to get through a workday. Heap dumps aren't especially helpful — everything looks like index data and model caches.
4 replies