Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.0.5
-
None
Description
The Perforce library we're using stores the entire output of each command regardless of whether or not it's used. Moreover, after each command is run a call to StringBuilder.toString is called, which effectively clones the entire String array, doubling the memory required for that time.
We should rework the logging so that such excess memory is not required, and for the sync command, not even need to have a copy of the logs in memory.