Skip to content

Kitty support did not have any ways of limiting how much memory we use. - #433

Merged
migueldeicaza merged 1 commit into
mainfrom
kitty-gc
Jan 10, 2026
Merged

Kitty support did not have any ways of limiting how much memory we use.#433
migueldeicaza merged 1 commit into
mainfrom
kitty-gc

Conversation

@migueldeicaza

Copy link
Copy Markdown
Owner

Based on the spec, this now:

  • A default maximum of 320 megs, up to 4 gigs of ram.
  • If we hit the limit, the first images to go will be the not-visible ones, follow by the oldest ones, and then anything is fair game until we meet the quota.
  • RIS reset drops all kitty images, and entering the alt buffer clears any lingering alt images even when you switch back using ?47l (which preserves the alt buffer state)

Based on the spec, this now:

* A default maximum of 320 megs, up to 4 gigs of ram.
* If we hit the limit, the first images to go will be the not-visible ones,
  follow by the oldest ones, and then anything is fair game until we meet the
  quota.
* RIS reset drops all kitty images, and entering the alt buffer clears any
  lingering alt images even when you switch back using ?47l (which preserves the alt buffer state)
@migueldeicaza
migueldeicaza merged commit e468331 into main Jan 10, 2026
0 of 3 checks passed
@migueldeicaza
migueldeicaza deleted the kitty-gc branch January 12, 2026 14:00
min-median-max pushed a commit to min-median-max/SwiftTerm that referenced this pull request Jan 18, 2026
…e. (migueldeicaza#433)

Based on the spec, this now:

* A default maximum of 320 megs, up to 4 gigs of ram.
* If we hit the limit, the first images to go will be the not-visible ones,
  follow by the oldest ones, and then anything is fair game until we meet the
  quota.
* RIS reset drops all kitty images, and entering the alt buffer clears any
  lingering alt images even when you switch back using ?47l (which preserves the alt buffer state)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant