I really dig the idea of PyCharm and would love to use it. However, its tendency to consume the computer's processing power and lag is a large drawback.
In the near future, I'll be running an introductory Python course and would like to recommend that the students install PyCharm as it seems to be the friendliest IDE out there.
Is there a way to speed up PyCharm to make its processing a bit 'lighter'?
Pycharm recommend 2GB of ram but the actual RAM required for your system depends on what all other process are running. I would say check your system memory usage when PyCharm is not running. PyCharm could take anywhere between 500MB-1GB of additional memory.
The slow performance of PyCharm is mainly due to small amount of RAM. I am running PyCharm on a machine with 2GB RAM. Here are my recommendations on making it work smoother.
You can't really tweak PyCharm for performance balancing the power it provides. If you turn off the inspection or works on Power Saver Mode
, You won't get code completion unless you manually invoke it with Ctrl + Space.
Switch to a lighter Operating System. (If you are a Linux person you have a plenty of choices.)
Monitor other System processes. (I was able to bring down standby memory usage of Kubuntu to less than 300MB by disabling other 'useless' processes that eat up memory)
Disable unused plugins in PyCharm.
Modern browsers are memory hungry. Limit number of tabs and plugins (even Adblock consumes around 70MB RAM) if you open docs on brower while you code.
Upgrade your hardware. (This really helps. Invest on RAM so you can ignore the points above)
WingIDE is an another IDE that works somewhat similar to PyCharm.
PyCharm is written in Java, and Java uses Just In Time compiling i.e. a method in Java bytecode is converted to native code the first time that method is called. The next time that method is called it runs much faster.
So, the first thing you should do with a new installation of PyCharm is run it a few times and try some of the basic features. Be sure to open and close PyCharm a few times as well. I find that this helps everytime I install a new version of PyCharm.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With