代码改变世界

[Intellij IDEA]File size exceeds configured limit(2560000). Code insight features are not available

2016-08-03 10:50  faunjoe88  阅读(1879)  评论(0编辑  收藏  举报

在使用 IDEA, 发现一个问题File size exceeds configured limit (2560000). Code insight features not available.

原因:

    IDEA对能关联的文件大小做了限制,主要是为了保护内存,默认值为2500kb,对于一般的java文件也够用了,只是这里我用protocbuf生成的java文件过大,达到3M多。

    其设置在...JetBrains\IntelliJ IDEA 15.0.3\bin 目录下的idea.properties文件。

默认值为2500kb

解决方法:

            这里我将其修改为9999999kb,解决问题。