Non-refreshing project window

Hello, JetBrains.

My issue is that the project window (i guess it is called that) is refreshed extremely slow. I think, you have to know, that my computer is quite fresh for 2020 year with Intel i7 10-th gen, 12 GB ram, a video chip and so on, I mean, there are no objective reason for this behavior.  And, of course, I tested it without any program back grounded. Moreover, all files opened in editor are refreshed only after some clicking and opening them again, that is really annoying.

I am on KDE Neon now with the following editor version:

PyCharm 2020.2 (Professional Edition)
Build #PY-202.6397.98, built on July 27, 2020
Licensed to Denis Sevostyanov
Subscription is active until July 28, 2021
For educational use only.
Runtime version: 11.0.7+10-b944.20 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.3.0-62-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1415M
Cores: 8
Non-Bundled Plugins: com.andrey4623.rainbowcsv, net.seesharpsoft.intellij.plugins.csv
Current Desktop: KDE

And here are some significant rows from idea.log from my project that is opened now: 

020-08-04 13:16:17,815 [1028715] INFO - rationStore.ComponentStoreImpl - Saving appDiffSettings took 15 ms
2020-08-04 13:16:17,897 [1028797] INFO - rationStore.ComponentStoreImpl - Saving Project(name=sw_exact, containerState=ACTIVE, componentStore=/home/den/Yandex.Disk/Desktop/lcfa_article/sw_exact)XDebuggerManager took 12 ms
2020-08-04 13:29:43,164 [1834064] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 404 to update, calculated in 50ms
2020-08-04 13:29:43,164 [1834064] INFO - g.FileBasedIndexProjectHandler - Using 4 threads for indexing
2020-08-04 13:29:43,378 [1834278] INFO - .diagnostic.PerformanceWatcher - Reindexing refreshed files took 214ms; general responsiveness: ok; EDT responsiveness: ok
2020-08-04 13:29:43,378 [1834278] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 0 to update, calculated in 0ms
2020-08-04 13:30:00,473 [1851373] INFO - j.ide.actions.RevealFileAction - Timed out
2020-08-04 13:30:00,473 [1851373] INFO - j.ide.actions.RevealFileAction - Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.

So, May I deduce from this that I have too many files in my project and PyCharm on this specs can't be refreshed (without the manually refresh)?

Comment actions Permalink

For those who faced the same issue, I found the solution! You just need increase the watches limit check it out:( I am extremely happy, but there is a question, why it cannot be integrated into PyCharm more than just notification? 
Anyway, thx you.

Comment actions Permalink

I'm having this problem also, but on MacOS. The docs you linked to says it is platform specific, and I can't find the File -> Synchronize which appears to have been how you were supposed to manually  handle this in the past.

To explain why I need faster project refresh: I am doing webpack using an npm script for a react app embedded in a django project. I need to remove old files externally and refresh regularly. 

I think if I had better frontend workflow scripts this might not be as necessary, but still either Pycharm needs to be able to detect changes in the project tree much faster or I need a clear way to manually trigger a reload.


Please sign in to leave a comment.