Welcome, Guest. Please login or register.

Author Topic: THOR's Shell Hacks  (Read 36096 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline patrik

Re: THORs Shell Hacks
« on: March 25, 2017, 09:16:12 PM »
Quote from: ChaosLord;783434
@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
Code: [Select]

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.