-
Notifications
You must be signed in to change notification settings - Fork 28
Memory issues #12
Comments
/cc @hone for any insights here. @rwwagner90 if you have any more detail you could about your setup or the specific errors you're seeing that might be helpful. |
@Dhaulagiri I am not sure how to see more details about the errors. I just seem to have 500+ "critical memory errors" per day. I would be glad to provide more details, if someone could assist me with where to look for those details? |
sorry for the delay here. Are you using fastboot or a typical ember app? https://devcenter.heroku.com/articles/log-runtime-metrics this might On 12/09/16 14:16, Robert Wagner wrote:
|
@hone I am using fastboot. Please let me know what info you need from me, so we can resolve this. I had some other people suggest limiting the workers to 4 for fastboot, I believe, so that leads me to believe we may need to do that. Is this buildpack using fastboot app server or what exactly? It seems like it is just serving from fastboot directly, and not using fastboot app server since this is what it runs: Shouldn't we be using this? https://github.com/ember-fastboot/fastboot-app-server |
We are using fastboot-app-server but through fastboot app server is using express-cluster under the hood and by
I think it might be helpful to see how much memory using the runtime On 29/09/16 07:04, Robert Wagner wrote:
|
@hone I had previously set |
https://github.com/heroku/heroku-buildpack-emberjs/blob/master/buildpack/mrblib/buildpack/commands/detect.rb#L14-L22
This is the code that does the detect, it just looks for `ember-cli` in
your `package.json`.
The WORKER_COUNT is a good idea. It'd probably be nice if it was
standardized across the two somehow, unless I start fronting the
fastboot stuff with nginx.
For more memory stuff, this trace addon recommended by @hunterloftis
(our node language owner at Heroku) might help with some visibility:
https://elements.heroku.com/addons/trace
|
Same problem. Error R14 (Memory quota exceeded):
|
I definitely recommend setting the Worker to 1 and see if you're still This GC tuning might help as well, The other option is to just use a higher memory dyno. 2X dynos have 1gb On 06/10/16 16:35, Stefan Gasser wrote:
|
How can I set the Worker to 1? No changes with |
@sgasser I set WORKER_COUNT to 4 and it seems to have helped me. |
Talking with the ember team, it seems there are still a few memory leaks potentially in fastboot itself. Your best bet is to work with them to try to help track them down before 1.0. What might be helpful is grabbing heap dumps off your dynos. The newly announced heroku exec should help there! /cc @tomdale |
I am getting a bunch of critical memory errors with my app. Perhaps workers are being spawned infinitely until all the memory is eaten up?
The text was updated successfully, but these errors were encountered: