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

cache singleton causes memory leak #239

Open
dmiddlecamp opened this issue Jan 13, 2016 · 0 comments
Open

cache singleton causes memory leak #239

dmiddlecamp opened this issue Jan 13, 2016 · 0 comments
Assignees

Comments

@dmiddlecamp
Copy link

I'm curious to see other's thoughts here, but I am using Hogan.js in a stream processor and found that a recent update caused a memory leak, essentially every string ever processed was held in ram. I eventually tracked this to Hogan.cache.

I'm wondering if this could be a weak linked cache? Or what would people think if this was mentioned in the docs so that anyone else using it in a high-volume environment won't hit the same issue?

@sayrer sayrer self-assigned this May 1, 2021
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