简体   繁体   English

如何用PhpStorm 8打开大文件?

[英]How to open large files with PhpStorm 8?

I'm dealing with large SQL or XML files (can be up to 3GB) that I would like to open in my editor. 我正在处理我想在编辑器中打开的大型SQL或XML文件(最高可达3GB) I get the message: 我收到消息:

File <the name of the file> is too large for PhpStorm editor 对于PhpStorm编辑器,文件<文件名>太大

I have 32GB of RAM and Windows 7 Pro - 64bits . 我有32GB的RAM和Windows 7 Pro - 64位

Can I override that limit? 我可以覆盖这个限制吗?

就像已经说过的那样, idea.max.intellisense.filesize也为我做了这件事,但我还没有尝试过如此庞大的文件,只有300MB大小的文件。

  1. Help > Edit Custom Properties 帮助>编辑自定义属性
  2. For a max 400mb file, add line: 对于最大400mb文件,添加行:

     idea.max.intellisense.filesize=400000 
  3. Restart phpstorm. 重启phpstorm。

However, my computer has 16gb of ram, and a 333mb file still caused phpstorm to freeze up for a couple minutes. 但是,我的计算机有16GB的内存,一个333mb的文件仍然导致phpstorm冻结了几分钟。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM