我的文本文件大小为1.58G,我的IntelliJ自定义VM选项已设置为“-Xmx4G”。为什么它会显示这个?
"The file is too large; 1.58G. Showing a read-only of the first 2.56M".
"The file is too large; 1.58G. Showing a read-only of the first 2.56M".
idea.properties
文件包含IntelliJ IDEA可处理的文件的默认限制:
#---------------------------------------------------------------------
# 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
这些可以使用帮助
| 编辑自定义属性进行更改。
idea.max.content.load.filesize=0
来使用最大可能的值。 - CrazyCoder