Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. I get the message:

File <the name of the file> is too large for PhpStorm editor

I have 32GB of RAM and Windows 7 Pro - 64bits.

Can I override that limit?

like image 490
OwNAkS Avatar asked Dec 16 '14 09:12

OwNAkS


2 Answers

Like already said, idea.max.intellisense.filesize did it for me too, but I haven't tried it with such huge files, only with files like 300MB size.

like image 75
Stoffo Avatar answered Sep 18 '22 13:09

Stoffo


  1. Help > Edit Custom Properties
  2. For a max 400mb file, add line:

    idea.max.intellisense.filesize=400000
    
  3. Restart phpstorm.

However, my computer has 16gb of ram, and a 333mb file still caused phpstorm to freeze up for a couple minutes.

like image 33
Andrew Avatar answered Sep 20 '22 13:09

Andrew