Skip to content

cache singleton causes memory leak #239

@dmiddlecamp

Description

@dmiddlecamp

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions