Skip to content
Permalink
Browse files
Put a limit on the size of the output we record to limit memory usage…
… for longer running tests that spit out a ton of info.

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1559156 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Jan 17, 2014
1 parent 6673546 commit cf391d05241ee5634c62c99ffc6202fce41c04ae
Showing 1 changed file with 3 additions and 0 deletions.
@@ -327,6 +327,9 @@ public void run() {
ps.flush();
}
}
if (serverOutputAll.length() > 64000) {
serverOutputAll.delete(0, 10000);
}
}
} catch (IOException ex) {
if (!ex.getMessage().contains("Stream closed")) {

0 comments on commit cf391d0

Please sign in to comment.