Skip to content

[Bug] Memory leak workflow worker #635

@root-aza

Description

@root-aza

What are you really trying to do?

Reload workflow with ui

Describe the bug

if you re-run the workflow via the UI too many times, the workflow worker starts leaking memory. You can end up with a zombie process with this success.
I managed to create a memory leak of a whole 1gb and this is not a redistribution.

video proff: https://youtu.be/LVZEeMcE7rE

Minimal Reproduction

large number of workflow re-strat

Environment/Versions

  • Temporal Version: 1.24.2
  • SDK version: v2.14.1

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