Skip to content

Parse Server memory usage #2482

Closed
Closed
@benishak

Description

@benishak

Env:

Parse Server 2.2.16
Parse SDK 1.9.0
AWS

Problem

Consider this code run on the Client

var Query = new Parse.Query("Books");
Query.limit(10000);
Query.find().then(
   function(books){
         // do something with books
        books = [] // clean up RAM
   }
)

in this example the moment the result is returned to the client, the memory at the client side hike to 800MB, but when the line books = [] execute the memory usage back to normal around 70MB.

The situation in Parse Server (server side) : the moment I request the result, the memory usage hikes also to 1GB in this example but the difference is that it never goes back to normal till I have to restart the node.

Is there any workaround to fix such issue?

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