Skip to content

clearCacheTagsMap is always growing, memory leak? #58

Open
@tomer-cohen-cyera

Description

@tomer-cohen-cyera

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions