Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-13814] don't buffer the entire rlog output in memory.
The size of the data "cvs rlog" produces is roughtly O(N*M) where N is the # of files in the directory and M is the amount of changes. So even when a delta is small, on a large repository this can produce significant amount of data. Use of ByteArrayOutputStream causes a large spike that can kill a VM, so spill the data over to disk if we are getting large output.
- Loading branch information
Showing
4 changed files
with
388 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.