Output window of IntelliJ IDEA cuts output

96,750

Solution 1

Preferences/Settings -> Editor -> General -> Console, check the box next to Override console cycle buffer size, set to a larger number than 1024 KB.

Screenshot of the Setting Window

Solution 2

Couldn't get more votes to close the question so I have to answer it myself.

IDEA_HOME\bin\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 
Share:
96,750

Related videos on Youtube

expert
Author by

expert

My interests: scala kotlin java deep-learning machine-learning reactive-programming scala-cats project-reactor scalability reverse-engineering peer-to-peer. Back in 2005 I created Morpheus, the most popular file sharing application in North America. I also designed and built Dell Digital Delivery (similar to Steam for non-games) which is installed on every Dell PC world-wide and worked on improving architecture of Fivetran. Currently I'm building super-fast hybrid (batching/realtime) data integration pipeline at bitparticles.

Updated on January 17, 2020

Comments

  • expert
    expert over 4 years

    Looks like there is a limit on the number of lines it shows.

    I couldn't find it in the settings.

    Is there a way to make IDEA keep everything in the Output window?

  • bharal
    bharal about 11 years
    is this kilobytes or megabytes?
  • expert
    expert almost 11 years
    @bharal It says in comment that it's Kb.
  • maosmurf
    maosmurf over 10 years
    See comment in file: # 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 Also, remember to udpaet settings after upgrade (like 12-> 13) as it creates new .properties
  • Babken Vardanyan
    Babken Vardanyan about 9 years
    For my distro (Arch), idea.properties is located at /usr/share/intellij-idea-ultimate-edition/bin/idea.propertie‌​s. Note that for Linux (unlike Mac) you don't need to create a copy of this file.
  • rogerdpack
    rogerdpack about 9 years
    For my distro (OS X) it was vi "/Applications/IntelliJ IDEA 14 CE.app/Contents/bin/idea.properties"
  • Eng.Fouad
    Eng.Fouad over 8 years
    idea.cycle.buffer.size=disabled worked for me +1.
  • E-Riz
    E-Riz about 8 years
    What version of IntelliJ is that? I don't have Console under Editor > General in version 14. In fact, my General sub-elements are very different than the screen shot.
  • Ed Norris
    Ed Norris about 8 years
    @E-Riz IntelliJ IDEA 15.0.6 on Mac has all of those settings
  • Daniele
    Daniele over 7 years
    Does it works also for the terminal window?
  • mortensi
    mortensi almost 7 years
    This is a better answer than the chosen answer above, since it'll handle updates of IDEA without getting a conflict of the idea.properties-file.
  • krizajb
    krizajb almost 6 years
    Looks like it doesn't.
  • DevMoutarde
    DevMoutarde almost 5 years
    Not effective on phpstorm 2019.1, why ???
  • Stack Kiddy
    Stack Kiddy over 4 years
    Works Great.....
  • asherbret
    asherbret over 2 years
    Worked for me. The max number of KB that work without intelliJ warning that "large buffer size can cause performance degradation" is 20480, at least on my computer and intelliJ version.