memory not cleared on scrollback buffer clear
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.4.6
- OS version: 11.4
- Attach com.googlecode.iterm2.plistheapbuffers.textAttach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Attach a screen capture video if it would make the reproduction steps clearer.
- Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
- Are you reporting excessive memory usage? Please attach a heap analysis: https://gitlab.com/gnachman/iterm2/wikis/heapshot
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem: 1.scrollback buffer with >20 M lines (iterm2 tmux enabled, no iterm2 tmux same below) 2.clear scrollback buffer 3.memory not freed
What happened: memory not released
What should have happened: memory released