Skip to content

Memory leak #9500

Open
Open

Description

@Dagur

There seems to be a memory leak in the latest version. Since we upgraded I've seen sudden spikes of memory usage and Ubuntu starts shutting down other programs to avoid everything grinding to a complete halt.
i don't know what other info I can give you. The last time this happened I noticed that flow was taking 16GB or my 32GB of RAM.

Flow version: 0.331.0

I should add that we were upgrading from 0.327.0 and I didn't notice this there.

Activity

  1. gkz commented on Sep 17, 2026

    @gkz
    Member

    we will release a new version soon that should address this issue

  2. SamChou19815 commented on Sep 21, 2026

    @SamChou19815
    Contributor

    should be fixed by bb3be35

  3. Dagur commented on Oct 14, 2026

    @Dagur
    ContributorAuthor

    We're on 0.333 and the situation has improved but the problem hasn't gone away completely. Ubuntu regularly has to kill the flow process because it's taking up too much memory.

  4. Dagur commented on Oct 27, 2026

    @Dagur
    ContributorAuthor

    @gkz any news on this?

  5. gkz commented on Oct 28, 2026

    @gkz
    Member

    @panagosg7 was making improvements here (not me)

  6. panagosg7 commented on Oct 29, 2026

    @panagosg7
    Contributor

    @Dagur Some more improvements have landed in more recent versions (specifically I'm thinking of 7e54ca1). Can you try 0.337 to see if this still happens for you?

  7. panagosg7 commented on Oct 29, 2026

    @panagosg7
    Contributor

    Another update here: I've confirmed that memory use diverges depending on the allocator used in various builds. jemalloc seems to release memory more effectively than glibc malloc. The latter is used in our OSS builds. Trying out #9520 to switch builds to jemalloc.

  8. self-assigned this
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions