Search code examples
pycharm

PyCharm running way slow


I'm a big fan of PyCharm by JetBrains but I do run into some issues that I thought maybe I'll ask here about.

  1. It hangs unexpectedly and this happens often. Overall, its a little bit slow for my taste and I would love some tips on how to increase the performance of the IDE
  2. Often when I open a project PyCharm seems to flag all the built-ins as Unresolved Reference warnings. things like open(), str(), etc. as well as some of the modules I import such as sys (these are the most common offenders :) ).

The only way I am able to fix (2) is by going to PyCharm -> Preferences -> Python Interpreters -> Paths -> Reload List of Paths but I have to do this often enough to warrant asking about a more permanent fix.

My configuration: Mac OSX Lion running on MacBook Pro (mid 2010) with 8GB RAM

Now look, I understand that diagnosing things like these is difficult without any sort of snapshot or more information about what is going on, but I am simply asking if anyone has ran into these issues before and if so, how did these get resolved?

P.S. I have also contacted JetBrains regarding these issues, but honestly I tend to find nice solutions to common problems here and I thought I might as well ask


Solution

  • Every performance problem with PyCharm is unique; a solution that helps one person will not work for another. Therefore, the only proper way to fix your specific performance problem is by capturing the CPU profiler snapshot as described in this document and sending it to the PyCharm support team, either by submitting a ticket or directly into the issue tracker.

    After the CPU snapshot is analyzed, the PyCharm team will work on a fix and release a new version which will (hopefully) not be affected by this specific performance problem. The team may also suggest you some configuration changes or workaround to remedy the problem based on the analysis of the provided data.

    All the other "solutions" (like enabling Power Save mode and changing the highlighting level) will hide the real problems that should be fixed.