From f65ed2381697ad0f502008dd2474c429488a9bf2 Mon Sep 17 00:00:00 2001
From: mae <qt-info@nokia.com>
Date: Wed, 25 Mar 2009 14:19:20 +0100
Subject: [PATCH] cap application output at 100.000 lines to avoid ever growing
 memory consumption.

---
 src/plugins/projectexplorer/outputwindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/projectexplorer/outputwindow.cpp b/src/plugins/projectexplorer/outputwindow.cpp
index c4839ba7853..3ead27b6105 100644
--- a/src/plugins/projectexplorer/outputwindow.cpp
+++ b/src/plugins/projectexplorer/outputwindow.cpp
@@ -313,7 +313,7 @@ OutputWindow::OutputWindow(QWidget *parent)
 {
     setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
     //setCenterOnScroll(false);
-    //setMaximumBlockCount(10000);
+    setMaximumBlockCount(100000);
     setWindowTitle(tr("Application Output Window"));
     setWindowIcon(QIcon(":/qt4projectmanager/images/window.png"));
     setFrameShape(QFrame::NoFrame);
-- 
GitLab