PyCharm unbearably slow after upgrade to 203.5981.165 build (2020.3)
I use PyCharm Community Edition. I have been running it successfully on Linux over an X connection via ssh for months. Yesterday it was running fine but first thing this morning I upgraded to the 203.5981.165 build and now it is basically unusable. Every UI paint operation takes far too long. I can press a key on my keyboard and count to 8 seconds before seeing the letter appear on screen. So far as I know nothing else has changed. Other applications running over the same ssh/X connection do not show the same latency.
Is it possible for me to go back to an older version?
I see a lot of messages like this one:
2020-12-03 15:17:18,347 [ 136201] WARN - .diagnostic.PerformanceWatcher - UI was frozen for 8041ms, details saved to ~/.cache/JetBrains/PyCharmCE2020.3/log/threadDumps-freeze-20201203-151715-PC-203.5981.165-MaskBlit.MaskBlit-8sec
2020-12-03 15:17:35,050 [ 152904] WARN - .diagnostic.PerformanceWatcher - UI was frozen for 16680ms, details saved to ~/.cache/JetBrains/PyCharmCE2020.3/log/threadDumps-freeze-20201203-151723-PC-203.5981.165-BufferStrategyPaintManager.paint-16se
I can provide one of those log files it it would help.
请先登录再写评论。
I've now uninstalled 2020.3 and reinstalled 2020.2 and everything is back to running fast over ssh/X.
Hello,
Please upload your logs folder zipped from ***Help | Collect logs and Diagnostic Data*** to the FTP
https://uploads.jetbrains.com/ and please let me know the filename.
I could do this but I'm now using PyCharm 2020.2 and the problem was with PyCharm 2020.3. Is there a way to produce that archive without running 2020.3?
Please check the logs directory manually https://www.jetbrains.com/help/pycharm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#logs-directory it should be marked with 2020.3 version.
Logs uploaded with ID 2020_12_07_MRTAnfaGGDm75jgu
Hello Daniel,
First of all, all third-party plugins should be disabled:
String Manipulation (8.8.191.000.1), AWS Toolkit (1.22-203), Protocol Buffer Editor (2.2.0)
in order to make sure his is not a third-party affection. If it does not help, please upload a fresh log bundle.
This new version of Pycharm is also running very slow for me - the UI is not very responsive.
I went back to using Pycharm 2020.2.5 and it is so much faster then 2020.3
I've now installed PyCharm 2020.3 alongside PyCharm 2020.2 and after disabling plugins in 2020.3 the slow responses remain. Latest logs uploaded to
2020_12_14_VxvLMHCuRYjHy8Tb
I am wondering if you have stubs for boto3 package installed? There is an existing issue https://youtrack.jetbrains.com/issue/PY-40997 that might be the cause.
I was using a conda environment with boto3 stubs but after switching to an empty environment the problems remain. I don't think this is to do with code inspection or anything like that. It just took over 6 seconds to open the help menu!
I have colleagues using 2020.3 via NoMachine and that is not showing obvious problems. I suspect I am noticing these problems because I am using PyCharm over ssh/X. If there is some change to the way the screen elements are painted then it's quite possible that this is generating many more network round-trips than it used to but those additional actions may occur locally fast enough to be unnoticeable.
I'm am having the same issue reported by Daniel and I'm also using 2020.3 over ssh/X (using MobaXtrem). I also have the problem with IntelliJ version 2020.3
I also have the problem with Pycharm version 2020.3. Version 2020.2.5 is more responsive
2020.3 has a known problem which can affect the performance. Consider updating to 2020.3.1 which should resolve the issue. In the meantime, it is better to create a ticket in the bug tracker, describe your setup and attach the archive from Help -> Collect Logs and Diagnostic Data as there might be different issues causing the performance degradation. E.g. PY-45776 can be easily detected by the corresponding NPE in the logs.
This does not appear to be related to "Analyzing never completes" known problem. The issue remains even when the analysis is complete. A new issue has been created in the bug tracker: https://youtrack.jetbrains.com/issue/PY-46318
Daniel thank you for creating that issue in the bug tracker.
In this sentence - "Response times for anything that causes a screen paint running PyCharm 2020.2 over ssh/X were entirely reasonably to use PyCharm 2020.2 over ssh/X and similar response times are expected when using PyCharm 2020.2 over ssh/X." I think you meant to write "2020.3 over ssh/X." at the end.
We ran into this problem using both PyCharm and IntelliJ 2020.3 over ssh/X. Hopefully JetBrains will get this fixed as it's keeping our entire company of Java/Python programmers from updating our IDEs.
Yes, that was a small typo, now corrected. Thanks.