-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Excessive memory growth by one request #1232
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
Do you have cloud code involved? Have not had any reports of this. |
@gfosco Yes but if I get rid of the cloud code and run, the result is the same. |
Interesting.... but there's not enough information here to go on. What kind of query, what level of usage, how are you monitoring, what else is changed, etc? |
@gfosco I just added the log in the post (cloud code isn't running) and I haven't changed anything but the cloud code so far. I run both parse-server-example and my own parse-server but it's all the same. |
I'd love to help, but there is no actionable information here and it does not look like others are experiencing this problem. |
I deployed parse-server on Heroku + mLab and the latency between them is fine.
However, when the server receives a request from the mobile client, it's very slow so I checked the memory usage, it wouldn't stop growing. Th response time slows down and eventually timeout.
I tried Garbage Collect manually by global.gc() and --gc_interval=100. It seemed to help for a while but it's not the solution. If I set the client to point to Parse.com backend, it works perfectly without timeout.
parse-server handles queries differently than Parse.com? or the other reasons?
I'd appreciate any suggestion or comment. Thanks.
The text was updated successfully, but these errors were encountered: