Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit in-memory cache, so it doesn't grow indefinitely. #99

Closed
podusowski opened this issue Dec 26, 2023 · 0 comments · Fixed by #157
Closed

Limit in-memory cache, so it doesn't grow indefinitely. #99

podusowski opened this issue Dec 26, 2023 · 0 comments · Fixed by #157

Comments

@podusowski
Copy link
Owner

          Additionally, I think 'cache' in `Tiles` has not correct name, or not correctly placed:

atually, it is a display cache, e.g. to display already prepared textures, not to get tile in fast way.
it would be good to limit this cache to the size of the viewport to avoid uncontrolled memory consumption

Originally posted by @noktoborus in #97 (comment)

@podusowski podusowski changed the title Limit in-memory cache, so it don't grow indefinitely. Limit in-memory cache, so it doesn't grow indefinitely. Dec 26, 2023
@podusowski podusowski mentioned this issue May 13, 2024
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 a pull request may close this issue.

1 participant