Skip to content

Snakemake processes use several GB of memory #72

Description

@jeremyestein

Description

When running de-id on the GAE, snakemake processes use several gigabytes of memory. It also seems to gradually increase as it runs, suggesting some kind of memory leak. Are we keeping handles to the data from each open file perhaps?

Mitigation for now is to set SNAKEMAKE_CORES=1 so at least there's only one such process. Although it's not clear to me if it's the main snakemake process or the ones it spawns per job (or both) that are responsible.

Definition of Done

  • Memory consumption to be made more normal, so we don't have to worry about something important getting OOM killed 😱

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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