Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ can't display big file?

My text file is 1.58G, my IntelliJ custom VM options is set as "-Xmx4G". Why does it shows

"The file is too large; 1.58G. Showing a read-only of the first 2.56M".
like image 591
user697911 Avatar asked Aug 14 '17 18:08

user697911


People also ask

How do I view all open files in IntelliJ?

Use ⌘E (macOS), or Ctrl+E (Windows/Linux), or to view the recent files and access windows that don't have shortcuts by typing them straight into the dialog. You can filter the recent files list to files that you've changed by using the same shortcut again.

How do I change the default view in IntelliJ?

From the main menu, select File | Manage IDE Settings | Restore Default Settings. Alternatively, press Shift twice and type Restore default settings . Click Restore and Restart. The IDE will be restarted with the default configuration.


1 Answers

idea.properties file contains the default limits for the files IntelliJ IDEA can handle:

#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE should provide code assistance for.
# The larger file is the slower its editor works and higher overall system memory requirements are
# if code assistance is enabled. Remove this property or set to very large number if you need
# code assistance for any files available regardless their size.
#---------------------------------------------------------------------
idea.max.intellisense.filesize=2500

#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE is able to open.
#---------------------------------------------------------------------
idea.max.content.load.filesize=20000

These can be changed using Help | Edit Custom Properties.

like image 100
CrazyCoder Avatar answered Oct 25 '22 05:10

CrazyCoder