Hi,
I’ve noticed since I think I’ve upgraded to iTerm 3.5 (I’m now running iTerm 3.5.3) that iTerm responsiveness highly depends on how many lines have been printed out to the terminal.
Whenever a terminal contains a large buffer, e.g. a long text file has been printed, or tail -f has been used on a long log file, …) any action in iTerm is greatly slowed down. By “large buffer”, I mean in the 100MiB range:
Resetting the terminal makes iTerm to resume execution at full speed.
It does not seem to be a system memory pressure issue as responsiveness of other iTerm panes do not seem to be impacted when one of them has been filled with that many characters. It also seems that a 200MiB translate into roughly 4GiB of allocated RAM, which seems to be mostly freed once the terminal has been reset.
I don’t recall experiencing this issue with previous releases of iTerm. Is this a know issue?
Is there a way to speed things up? I could reduce the scroll back lines but unfortunately I really do need to look at the whole log file once printed out. Maybe there is a new setting I’m not aware off - or another setting that I should not have enabled?
Thanks,
Emmanuel.
--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iterm2-discuss/C78CE380-67F9-4ABA-9336-890328A4AFE3%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iterm2-discuss/d92abb59-5cdb-4666-b737-4a5db414fea8n%40googlegroups.com.
On 20 Jul 2024, at 0:45, George Nachman wrote:
I’ve installed iTerm2 from https://gitlab.com/gnachman/iterm2/-/issues/11496 (https://iterm2.com/adhocbuilds/iTerm2-0_20240529_160651-adhoc.zip) yesterday and I’ve not been able to reproduce the slowness that I keep experiencing with 3.5.3, although I’ve only used it for a short time.
I’ll try to give it a longer try next week.
I bumped into an unexpected issue (for me as a user): Having both versions of iTerm2 working at once, I was no longer able to use the Python API which is super useful for me, as I clean up the content of one terminal - the one with the very long messages that create the slow down - automatically from another terminal where I launched the app that generates the log messages. Whenever another version of iTerm2 is started up, the already running version of iTerm2 loses its Python API comm capabilities. Not a big deal since I guess we are not supposed to use multiple versions at once anyway, but it reduced my experimentation w/ long log messages.
I do not use a long prompt, although I’m using zsh:
I’ll revert to the 3.5.3 version and capture a debug log. Is there an existing ticket/issue for performance related issue, or should I create a new one?
Side note: it seems the Home and About pages on Patreon are a bit out of date :)
Thanks,
Emmanuel.
To view this discussion on the web visit https://groups.google.com/d/msgid/iterm2-discuss/CAB5Rqo%3D3aRuY_6FmTfMYeVaiyCPdOV1zth67dRf7ha7oDU997Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iterm2-discuss/E0A05F93-B990-44ED-96F6-2361F4B317C7%40gmail.com.