-
Notifications
You must be signed in to change notification settings - Fork 384
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
autoset max_old_space_size #34
Comments
Buildpack users should be able to set the Procfile
Deploy
@davidjahn mentioned that you may also be able to retrieve that information dynamically at the start time depending on your version of CF. I believe the newer ones should all have the
|
thanks for the answer |
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/105875260. |
Is this a pull request y'all would consider? Seems like a nice "smart" thing the buildpack could do for users out of the box. |
Hey @afeld, Great to hear from you! If you wanted to put in the effort to have the nodejs buildpack "do the right thing" and set this value to the size of the application memory limit at runtime, that would be an interesting thing to consider; but I'd also want to see how it behaves in real-world situations. I think the real answer here is that nobody has been able to explain (other than the barebones FAQ linked to) that this actually works as intended. See related thread from last July: |
Our internal users ran into this today with a 512M memory quota. This should ideally be implemented, but at the very least it should be clearly documented. |
Does it make sense for you to automatically set max_old_space_size ?
Is it possible to use the configured memory value (cf scale)?
the reason / use case: https://github.com/nodejs/node/wiki/Frequently-Asked-Questions
The text was updated successfully, but these errors were encountered: