-
Notifications
You must be signed in to change notification settings - Fork 27
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
crashes: Cannot allocate memory #18
Comments
Context? |
Small gear... I had a cron job that has lots of queries and inserts and seems to crash the mongo... |
Seems like we need to set storage.wiredTiger.engineConfig.cacheSizeGB |
From what it seems there is no way to run MongoDB properly on a small instance. You'd need a medium with 1GB min |
Thanks a lot for taking the time to really look into this! I've dug a bit myself after you've raised the issue and learned that other people ran into the same on various occasions. I also found a potentially interesting discussion here: http://comments.gmane.org/gmane.comp.db.mongodb.user/122126 Apparently, we could set a lower limit with I'll try setting it to 256MB to accommodate the default 512MB limit on OpenShift and see what happens, but if your data is important, I'd highly suggest you to switch to hosting your database on a specialized provider such as mLab. There's also the option of switching to |
Going to close this for now, since there's not much we can do about it besides what I already did in this commit. Feel free to reopen if you have a better idea. |
The text was updated successfully, but these errors were encountered: