PyCharm indexing slow/never stops
Answered
In PyCharm Professional 2019.3(Linux) the indexing background task is very slow or maybe even never stops and additionally slowly fills up the memory. It mainly seems to be indexing the site-packages in my virtual environment directory but also a few data directories from currently not opened projects. Is there anything that can be done, e.g., to restrict indexing?
Please sign in to leave a comment.
Unfortunately we do have some reports with presumed memory leak, e.g.:
https://youtrack.jetbrains.com/issue/PY-38932
https://youtrack.jetbrains.com/issue/PY-40612
I think the best course of action in this case is to create an issue on https://youtrack.jetbrains.com/issues and provide the following:
- [IDE logs](https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)
- Memory snapshot according to https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems
- Steps to reproduce if possible
- Project example if possible
This answer could be improved with some advice on how the user might troubleshoot the problem.