1

I have an array of all 100000 natural numbers(1 ... 100000). I sorted it and printed the sorted array to the console but the console didn't show all the numbers the numbers were from 84599 to 100000 only.

meteors
  • 1,747
  • 3
  • 20
  • 40
  • 1
    This means your console is only showing you the `100000 - 84599 = 15401` last lines of output. – jlordo Jul 08 '13 at 10:08

3 Answers3

4

That has to do with the display buffer size of eclipse console

I would recommend looking at this question:

How do I increase the capacity of the Eclipse output console?

Community
  • 1
  • 1
Martin Larsson
  • 1,008
  • 1
  • 8
  • 25
2

Console has a text buffer, which is of finite size, and when it fills up, the old text is lost.

Make the buffer larger through Console Preferences.

Tip: type Ctrl-3 (⌘+3 on Mac), then console, to quickly access the Console Preferences without drilling down through the Eclipse Preferences tree.

Marko Topolnik
  • 195,646
  • 29
  • 319
  • 436
1

Windows -> Preferences -> Run/Debug -> Console ->

Uncheck "Limit console output" to have unlimited console output

sanbhat
  • 17,522
  • 6
  • 48
  • 64