Issue with constant increasing memory usage
- Dominant language
- TypeScript
- Stars
- 37.9k
- Forks
- 4.9k
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 36
Description
### Describe the Bug
Hi,
We are using directus mostly for text content with a couple video files that are provided via S3.
And we are experiencing a high usage of memory over time that seem to be related to those video files.
The following pictures shows the usage of memory for the directus instance in a week.
The resets happen automatically after hitting a memory maximum threshold that will kill the pod and start a new one.
what you can see:
- memory is steadily rising over time till it hits our maximum threshold
- the memory increase is less at night and weekend (less requests will lead to less memory allocation)
There are already similar issues reporting problems regarding video files via S3 in directus.
https://github.com/directus/directus/issues/21308
https://github.com/directus/directus/discussions/24921
### To Reproduce
1. add Videos via S3
2. constantly request those videos
### Directus Version
v11.13.2
### Hosting Strategy
Self-Hosted (Docker Image)
### Database
PostgreSQL 16
Contributor guide
Assessment
This issue has not been assessed yet.