从版本12升级后,为什么IntelliJ 13 IDEA这么慢? [英] Why is IntelliJ 13 IDEA so slow after upgrading from version 12?

查看:222
本文介绍了从版本12升级后,为什么IntelliJ 13 IDEA这么慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然使用IntelliJ 13终极版一周,但它看起来真的很慢。

While using IntelliJ 13 ultimate edition for a week, it just seems really slow.

首先,整个IDE每隔一秒就会停止一次一会儿。与12版本相比,Java编辑器的自动完成速度非常慢。

First of all, the whole IDE stops for a second or so every once in a while. The Java editor's auto complete is really slow compared to 12 version.

除了使用Dracula主题之外,我没有更改任何默认设置。

I have not changed anything from the default settings other than using a Dracula theme.

看来这不是我自己的问题。许多人建议将堆大小设置为高于默认值,或清除缓存,但我没有检查或测试这些建议。我是否需要更改某些设置以提高新版本的性能?

It seems that this is not a problem of my own. Many people suggested setting the heap size higher than default, or clearing the cache, but I have not checked or tested on these suggestion. Do I need to change some setting to improve the new version's performance?

推荐答案

我在IntelliJ 13中遇到慢速问题从12.
升级对我来说有用的是编辑bin文件夹中的idea64.vmoptions并将max heap设置为8 GB(512 MB),Max PermGen设置为至少1GB(300MB)。例如下面的示例:

I had the same problem with slowness in IntelliJ 13 after upgrading from 12. What worked for me was editing the idea64.vmoptions in the bin folder and setting the max heap to 8 GB (was 512 MB) and the Max PermGen to at least 1GB (was 300MB).Example below:

-Xms128m
-Xmx8192m
-XX:MaxPermSize=1024m

重启后速度要快得多。

在Mac上,这个文件位于此路径中: /Users/yourusername/Library/Preferences/IntelliJIdea13/idea.vmoptions

On a Mac, this file is located in this path: /Users/yourusername/Library/Preferences/IntelliJIdea13/idea.vmoptions

对于IntelliJ 14或15 on Mac
/ Applications / IntelliJ IDEA 14.app/Contents/bin/idea.vmoptions

For IntelliJ 14 or 15 on Mac /Applications/IntelliJ IDEA 14.app/Contents/bin/idea.vmoptions

对于IntelliJ 2016,2017或更高版本的Mac
/ Applications / IntelliJ IDEA.app/Contents/bin/idea.vmoptions

For IntelliJ 2016, 2017, or Higher on Mac /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions

IntelliJ的2017年更新似乎回滚此更改,因此您可能需要在更新后重新应用它。

IntelliJ's 2017 update seems to roll this change back, so you may need to re-apply it after updating.

在Ubuntu Linux上,此文件位于相对于安装目录的此路径中:

On Ubuntu Linux, this file is located in this path relative to the install directory:

idea-IU-135.475/bin/idea64.vmoptions

和2016.2:

 ~/.IdeaIC2016.2/idea64.vmoptions

在Windows 10(此处显示的社区版)上,这些文件位于:

On Windows 10 (Community edition shown here) these files are located in:

C:\Program Files(x86)\ JetBrains\IntelliJ IDEA Community Edition 2016.1.3\bin\idea64.exe.vmoptions

这篇关于从版本12升级后,为什么IntelliJ 13 IDEA这么慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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