How to make Pycharm faster / easier?

I really dig the idea of ​​Picharma and will love to use it. However, its propensity to consume computing power and lag is a big disadvantage.

In the near future I will be launching a Python introductory course and want to recommend students install Pycharm as it seems to be the friendliest IDE out there.

Is there a way to speed up Pycharm to make its handling a little “easier”? Or is there an alternative IDE with similar features that people recommend?

+9
python ide pycharm
Jul 07 '16 at 10:17
source share
4 answers

PyCharm's slow performance is mainly due to the small amount of RAM. I am running PyCharm on a machine with 2 GB of RAM. Here are my recommendations for making the work smoother.

  • You cannot tune PyCharm for performance by balancing the power it provides. If you disable the check or work on Power Saver Mode , you will not get code completion unless you manually call it using Ctrl + Space .

  • Switch to a lighter operating system. (If you are a Linux person, you have many options.)

  • Monitoring other system processes. (I was able to reduce Kubuntu standby memory consumption to less than 300 MB by disabling other "useless" processes that eat up memory)

  • Disable unused plugins in PyCharm.

  • Modern browsers are hungry. Limit the number of tabs and plugins (even Adblock consumes about 70 MB of RAM) if you open documents on brower during your code.

  • Upgrade your equipment. (It really helps. Invest in RAM so you can ignore the points above)

WingIDE is another development environment that works in much the same way as PyCharm

+7
Jul 07 '16 at 17:18
source share

PyCharm is written in Java, and Java uses Just In Time compilation, that is, the method in Java bytecode is converted to native code the first time this method is called. The next time this method is called, it works much faster.

So, the first thing you need to do with a new installation of PyCharm is to run it several times and try some of the basic functions. Remember to open and close PyCharm several times. I find this helps every time I install a new version of PyCharm.

+4
Jun 19 '17 at 3:58 on
source share

First of all: you can disable checks. In the lower right corner, in the status bar, next to the memory usage indicator, there is a small Hector head - click on it and select "syntax". I believe that will help.

If this does not help, you can set “Power Saving Mode”. From PyCharm Help :

When the power saving mode is turned on, PyCharm reduces the functionality to a text editor without performing the expensive background actions that drain the laptop battery.

+3
Jul 07 '16 at 11:33
source share

On the hardware side, updating your system is the right choice. PyCharm recommends 1 GB of RAM as indicated in the system requirements on the PyCharm website.

You can disable several PyCharm features, such as disabling checks. You can also enable “Power Saving Mode” for PyCharm.

You can also use a lighter operating system when starting PyCharm or kill several processes to reduce the load on the computer.

If PyCharm is still hard for you, you can try Python for VS code , KDevelop , or you can use a text editor such as Atom to develop Python. Here is the complete list for the Python IDE.

0
Jul 07 '16 at 11:36
source share



All Articles