pycharm出现错误File size exceeds configured limit 2.56M. Code insight features not available.

pycharm出现错误File size exceeds configured limit 2.56M. Code insight features not available.

pycharm出现错误File size exceeds configured limit 2.56M. Code insight features not available.

原因:

pycharm对能关联的文件大小做了限制,主要是为了保护内存,默认值为2500kb,对于一般的文件也够用了,只是这里我用于爬虫生成的日志文件过大,达到100多M裸数据。

解决方案:

打开pycharm位置:

pycharm出现错误File size exceeds configured limit 2.56M. Code insight features not available.

打开idea.properties,用记事本或者pycharm打开都行:

pycharm出现错误File size exceeds configured limit 2.56M. Code insight features not available.

默认是2500kb,修改为99999kb

pycharm出现错误File size exceeds configured limit 2.56M. Code insight features not available.

…(img-1NwnUTRb-1576416872895)]

保存即可