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

clearCacheTagsMap is always growing, memory leak? #58

Open
tomer-cohen-cyera opened this issue Mar 13, 2024 · 0 comments
Open

clearCacheTagsMap is always growing, memory leak? #58

tomer-cohen-cyera opened this issue Mar 13, 2024 · 0 comments

Comments

@tomer-cohen-cyera
Copy link

Hi,
been using this to cache my datasource objects created by typeORM, we see a memory leak after adding the cache.
after profiling and debugging i saw that the clearCacheTagsMap in line 45 in the memoize-decorator.js is always growing, and it holds a reference to the cached items...

am i getting this wrong? is there a quick fix?
thanks got the help!

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

1 participant