Skip to content

memory optimisation for extract using roaringbitmap? #258

@missinglink

Description

@missinglink

What version of osmium-tool are you using?

osmium version 1.13.1
libosmium version 2.16.0
Supported PBF compression types: none zlib

What operating system version are you using?

Darwin Peters-MacBook-Pro-2.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64 i386 Darwin

Tell us something about your system

64GB RAM

What did you do exactly?

Cutting many extracts uses a large amount of memory (as documented).

What did you expect to happen?

I expected the internal memory requirement to be lower, assuming that a bitmap structure was being used to track dependent OSM elements.

What did happen instead?

It seems that element IDs are being stored as integers?

What did you do to try analyzing the problem?

I would just like to enquire if something like https://roaringbitmap.org/ could be used to keep track of which elements are required in each extract, in order to greatly reduce the memory requirements?

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