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".
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With