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

Another memory leak) #1349

Open
PavelWhiteTiger opened this issue Feb 4, 2025 · 2 comments
Open

Another memory leak) #1349

PavelWhiteTiger opened this issue Feb 4, 2025 · 2 comments

Comments

@PavelWhiteTiger
Copy link

Image

@PavelWhiteTiger
Copy link
Author

Image

@hlg
Copy link
Member

hlg commented Feb 7, 2025

Service maps are cached because there are many of them created otherwise and they use less memory this way, accepting that GC cannot kick in then. Authorizations are cached to save CPU otherwise spent on cryptography. You are right, there is no cache eviction whatsoever on these two caches. See #884 for the logout considerations.

There is no priority on optimization currently. I put this on the backlog. Also, GeometryAccellerator would need cache eviction implemented - there is a TODO in the code. The only cache that is cleaned up regularly (CompareCache) is apparently not used and could be removed. Meanwhile, you may periodically restart the server or when using BIMserver as an embedded server, you can clear the caches to your liking.

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

No branches or pull requests

2 participants