To avoid exhausting memory when commands produce inordinate amounts of output (think reindex from scratch in verbose mode), this change introduces upper limits for the output lines stored by the Command class. The default is 10k lines and 250 characters for each line. The truncation is visible in the output for both cases via ....
As a side effect, the newline separators are not longer stored in the list of output lines. They are added only when requested using the getoutputstr() or geterroutputstr().
To avoid exhausting memory when commands produce inordinate amounts of output (think reindex from scratch in verbose mode), this change introduces upper limits for the output lines stored by the
Command
class. The default is 10k lines and 250 characters for each line. The truncation is visible in the output for both cases via...
.As a side effect, the newline separators are not longer stored in the list of output lines. They are added only when requested using the
getoutputstr()
orgeterroutputstr()
.