Skip to content

Possible memory leak in memoize #65

@KGOH

Description

@KGOH

I suspect that if you do a lot of variable redefenitions, objs ConcurrentHashMap will needlessly grow. Not a risk for production ran systems

di/src/darkleaf/di/core.clj

Lines 1005 to 1007 in 0ff9889

(build [_ deps _add-stop]
(.computeIfAbsent objs [factory deps]
(fn [_] (p/build factory deps add-stop))))

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