IntelliJ IDEA默认的Output输出缓存区大小只有1024KB,超过大小限制的就会被清除,而且还会显示【too much output to process】
,可通过如下配置界面进行修改Override console cycle buffer size(
Settings→Editor
→General
→
Console
),
单位为KB
![1040703-20161102220941565-1922675787.png](https://i-blog.csdnimg.cn/blog_migrate/2796d147c51713e4e12c8495ccd110f5.png)
如果需要禁用缓存区大小限制就需要修改配置文件idea.properties
配置文件中原有设置:
#---------------------------------------------------------------------
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
# Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
#---------------------------------------------------------------------
idea.cycle.buffer.size=1024
修改配置如下所示:
idea.cycle.buffer.size=disabled
禁用后的界面如下所示:
![1040703-20161102220941971-77613091.png](https://i-blog.csdnimg.cn/blog_migrate/02c988d52f3de6009f0a4fbc82e73949.png)