Skip to content

Memory leak issues when upgrading form parse server ‘~2.x’ to ‘~3.x’ #6061

Closed
@n-so

Description

@n-so

Issue Description

Hi,
When upgrading from parse-server ‘~2.x’ to ‘~3.x’
I started getting memory leaks issues.
I searched the web and tried many ways to fix this, the only solution that worked was to set enableSingleSchemaCache: true,
But I do not what to use this solution for production .(I don't want to take any risks)
Is there any other solution for this?

attached is a screenshot : comparison of two heap dumps taken 2 minutes apart
image

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) :'~3.x'
    • Operating System: [FILL THIS OUT]
    • Hardware: [FILL THIS OUT]
    • Localhost or remote server? AWS
  • Database

    • MongoDB version: 4.0.3
    • Storage engine: [FILL THIS OUT]
    • Hardware: [FILL THIS OUT]
    • Localhost or remote server? AWS

Logs/Trace

No errors or strange messages reported, everything working as usual, just memory increasing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions