Skip to content

FSAdapter raises RAM consumption after access to file #8686

Open
@Kutikov

Description

@Kutikov

New Issue Checklist

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:

  1. Start express app with ParseServer
  2. Check up RAM consumption as baseline
  3. Record the OGG audio file, upload it using Parse to the server
  4. Start playing in <audio> element in html or any other stream player
  5. Check up RAM consumption - level 1
  6. Stop playing and destruct player to free up link
  7. 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

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:docsOnly change in the docs or README

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions