-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Memory usage increased ~100% after updating from Parse server 2.2.25 to 2.6.3 #4238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@saulogt What version of node are you using to run this? |
@montymxb it is nodejs 8.6.0. I just added this information to the original comment |
I am using below on AWS. with no issue. might be Node.js issue not 100% but as suggested by node team always use most used version not latest. My personal experience:- I always have issue with latest version. so i normally use old version of any product Like i am using Node and parse . |
That’s a good advice, we see various differences on node versions, from promise performance, to memory usage, I’m not sure where it comes from, but there’s no real need to ride on the latest version. |
@flovilmart It makes sense. I'm updating mongoDb to 2.4 first. |
Try out with the enableSingleSchemaCache option, this should greatly improve your memory usage |
@flovilmart |
@n-so can you provide more details about the environment you are running and what exactly your issue is? |
I updated to the newest version of parse server (2.2.25 -> 2.6.3) looking for bugfixes and possibly performance improvements. However, the memory usage increased about 100% from ~200MB to ~400MB and it seems to not decrease.
The current load is 50 requests per second. The response time and cpu load haven't changed.
I expected to use the same amount of memory as before and even downgrade the dyno if it was more stable. Now I'm concerned about the peaks of load.
Environment Setup
Server
Database
The text was updated successfully, but these errors were encountered: