Display estimated RAM usage for scrollback lines
By sec... on October 13, 2012 16:50 (imported from Google Code)
My assumption is that the primary purpose of setting number of scrollback lines is to limit the RAM consumption of a tab, yet I'm not given any upfront information that helps me make a decision about this.
When I set the number of scrollback lines, it would be cool if the UI would tell me my estimated RAM usage (in MB) for a full scrollback buffer that so I can more easily calculate how many tabs I can have open at any one time.
You could also be more smart about it and display an estimate maximum number of tabs with full scrollback buffers based on the total/available RAM in the system.
OR you could flip it around, and allow specifying the maximum amount of RAM to allocate to scrollback per tab (and perhaps display the estimated number of lines).
I guess ultimate solution would be a slider that displays both number of lines and estimated RAM usage,
and 0 = unlimited, 100% = total RAM in system.
This has only been an issue because I'm on temporarily on an older machine with 2GB RAM and often fill my RAM up with tailed logs. Obviously the solution is to turn off unlimited scrollback, but I wasn't sure what a decent value would be… as in I'm not immediately sure if 100000 lines of scrollback is closer to 10MB or 1000MB.