@Thor
The reason I ask is because I do all my compiling and testing from shell. I test for memory leaks a lot. Many years ago I found that all the fancy shells that I tested such as KingCON: keep randomly changing the amount of ram that they consume so I can't easily check for memory leaks in my programs.
I think its because of their scrollback buffer constantly expanding.
I like to do
avail flush
run myGiantComplicatedProgram blahblah blah moreblah
avail flush
to see if my memory usage is the same before & after.
But that did not work in KingCON: and whatever fancy shells I tested.
Atleast with KingCON this works fine if you just disable the "Review"/scrollback in the menu. Otherwise you will loose memory for every additional line.