如何使Pycharm更快/更轻? [英] How to make Pycharm faster/lighter?

查看:267
本文介绍了如何使Pycharm更快/更轻?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的很喜欢Pycharm,并且很乐意使用它。然而,它消耗计算机的处理能力和滞后的倾向是一个很大的缺点。

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.

在不久的将来,我将运行一个介绍性的Python课程,并希望建议学生安装Pycharm,因为它似乎是最友好的IDE。

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.

有没有办法加速Pycharm使其处理有点轻?或者是否有一个具有类似功能的替代IDE,人们会推荐?

Is there a way to speed up Pycharm to make its processing a bit 'lighter'? Or is there an alternative IDE with similar features that people would recommend?

推荐答案

PyCharm的性能下降主要是由于数量不多内存我在一台2GB RAM的机器上运行PyCharm。以下是我的建议,使其工作更顺畅。

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.


  1. 你无法真正调整PyCharm 的性能平衡它提供的力量。如果您关闭检查或在省电模式上工作,除非您使用 Ctrl + 空格。

  1. 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.

切换到较轻的操作系统。 (如果您是Linux用户,则有很多选择。)

Switch to a lighter Operating System. (If you are a Linux person you have a plenty of choices.)

监控其他系统进程。 (通过禁用耗尽内存的其他无用进程,我能够将Kubuntu的待机内存使用量降低到300MB以下)

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)

禁用未使用的插件PyCharm。

Disable unused plugins in PyCharm.

现代浏览器需要大量内存。如果您在编码时在浏览器上打开文档,则限制标签和插件的数量(即使Adblock消耗大约70MB RAM)。

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.

更新硬件。 (这真的有帮助。投资RAM,所以你可以忽略上面的几点)

Update your hardware. (This really helps. Invest on RAM so you can ignore the points above)

WingIDE 是另一个与PyCharm类似的IDE。

WingIDE is an another IDE that works somewhat similar to PyCharm.

这篇关于如何使Pycharm更快/更轻?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆