Skip to content

Memory leak in localhost mode #181

Closed
@raoz

Description

@raoz

When running in localhost mode, the impressions cache seems to grow unboundedly, as the following condition never triggers: https://github.com/splitio/javascript-commons/blob/development/src/storages/inMemory/ImpressionsCacheInMemory.ts#L31 because onFullQueue is never set.

I was pointed there by heap profiler, as I was investigating an out of memory error in a development pipeline with a long-running analysis task (which uses split in localhost mode).

Metadata

Metadata

Assignees

No one assigned

    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