aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/cdv_info_wx.erl
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-01-10 13:34:05 +0100
committerJohn Högberg <[email protected]>2018-01-11 10:39:57 +0100
commitd468fcbb1dfeef6c68f6033df9bff57dfcd748af (patch)
tree7e033d92e9b838d04404acda2bbdcf72b50af57d /lib/observer/src/cdv_info_wx.erl
parent6e8a91b5d3a47e4f1b5be4ce1b213f0175b23062 (diff)
downloadotp-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/cdv_info_wx.erl')
0 files changed, 0 insertions, 0 deletions