Commit 2776d6f
Trim console output before processing it in console document
When processing large amounts of console output of a process, its possible that the Eclipse UI will freeze.
E.g. on Linux, very long lines (> 1 million symbols) result in such freezes.
Using the console limit preference doesn't help preventing this freeze, despite limitting the contents seen in the console.
This change adjusts IOConsolePartitioner.QueueProcessingJob.processPendingPartitions()
to trim pending console output before setting this output in the console document, if a console limit is set in the Eclipse preferences.
See: #22831 parent e33c137 commit 2776d6f
1 file changed
Lines changed: 32 additions & 4 deletions
Lines changed: 32 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | | - | |
| 787 | + | |
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
| 796 | + | |
796 | 797 | | |
797 | 798 | | |
798 | | - | |
799 | | - | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
800 | 828 | | |
801 | | - | |
| 829 | + | |
802 | 830 | | |
803 | 831 | | |
804 | 832 | | |
| |||
0 commit comments