diff options
author | John Högberg <[email protected]> | 2018-01-10 13:34:05 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-01-11 10:39:57 +0100 |
commit | d468fcbb1dfeef6c68f6033df9bff57dfcd748af (patch) | |
tree | 7e033d92e9b838d04404acda2bbdcf72b50af57d /lib/observer/src | |
parent | 6e8a91b5d3a47e4f1b5be4ce1b213f0175b23062 (diff) | |
download | otp-d468fcbb1dfeef6c68f6033df9bff57dfcd748af.tar.gz otp-d468fcbb1dfeef6c68f6033df9bff57dfcd748af.tar.bz2 otp-d468fcbb1dfeef6c68f6033df9bff57dfcd748af.zip |
Reduce memory use of system_information:to_file/1
The previous implementation generated a term, converted it to plain
text with io_lib:format/2, and then converted that to a binary
before writing it to disk.
We now emit the term as we go, which should make it a bit safer to
extract this information under load.
Diffstat (limited to 'lib/observer/src')
0 files changed, 0 insertions, 0 deletions