Skip to content

Memory leak in neo4j-upload #526

@Schmoho

Description

@Schmoho

Describe the bug
Running the neo4j-upload with kg-microbe-biomedical-function (~30GB edges + 15GB nodes) uses up all memory in the python process and eventually is killed by my OS OOM killer on a 64GB RAM machine.

To Reproduce
kgx neo4j-upload -i tsv --uri bolt://localhost:7687 -u neo4j -p demo kg-microbe-biomedical-function/merged-kg_nodes.tsv kg-microbe-biomedical-function/merged-kg_edges.tsv

on a machine with 64GB memory, running neo4j:2025.10.1 in a container.

Expected behavior
Don't use that much memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions