Skip to content

[Quetion] How to set the size of the memory occupied by mapnik? #1009

@JaylanChen

Description

@JaylanChen

When creating an mapnik instance and rendering a tile image (with a lot of geometric data), it takes a portion of the memory (positively associated with the volume of the data).

After the picture rendering is finished, the memory is still occupied; mapnik After the instance is destroyed, the memory is still occupied;
And the memory growth is not controlled by the memory settings of the node service (max_old_space_size).

How should I set the max memory limit of mapnik or make the mapnik memory use effectively?

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