Open
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server.
Issue Description
When I use FSAdapter and try to fetch multiple files using Parse.File.url({forceSecure: true})
, I`m facing growing of RAM consumption up to 2-2.5 times on my server
Steps to reproduce
The simplest way to reproduce:
- Start express app with ParseServer
- Check up RAM consumption as baseline
- Record the OGG audio file, upload it using Parse to the server
- Start playing in
<audio>
element in html or any other stream player - Check up RAM consumption - level 1
- Stop playing and destruct player to free up link
- Check up RAM consumption - level 2
Actual Outcome
RAM consumption: baseline < level 1 <= level 2. In my case level 2 = level 1 = 2.5x baseline
Expected Outcome
RAM consumption: baseline < level 1 > level 2. I'd like to have 1.5x level 2 = level 1 = 1.5x baseline
Environment
Server
- Parse Server version:
5.5.3
- Operating system:
Ubuntu 20.04
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
Local
Database
- System (MongoDB or Postgres):
MongoDB
- Database version:
6.0.3
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
Local
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc):
JavaScript
- SDK version:
4.1.0