Skip to content

Memory allocated by new mapnik.Image() doesn't seem to be freed by GC #950

@zdila

Description

@zdila

Our server is regularily killed by kernel because it eats all the RAM. It seems to be caused by not freeing unreferenced images created by new mapnik.Image(...);

Testcase:

for (let i = 0; i < 1000000; i++) {
  new mapnik.Image(256, 256);
}

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