elsa-workflows / elsa-workflows/elsa-core
[BUG]Memory usage cannot be reduced
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
## Description
We set up an Elsa server according to the documentation, but we noticed that memory usage does not release after starting the server and creating workflow instances using the API. Here are the details:
- Documentation: https://v3.elsaworkflows.io/docs/installation/elsa-server
- Create Workflow Instance API: http://localhost:5000/elsa/api/workflow-definitions/9ac1f1c9792ffb14/execute
- program file: [Program.txt](https://github.com/user-attachments/files/16723754/Program.txt)
- flow:[flow.json](https://github.com/user-attachments/files/16723759/flow.json)
- Actual Situation: After starting the server and creating two workflow instances via the API, memory usage quickly rises to 1.1 GB. Even after the API call completes, the memory usage does not decrease. If workflows are continuously created, memory usage can even increase to over 10 GB.


Contributor guide
Assessment
This issue has not been assessed yet.