-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
meteor 0.9 cause out of memory #2475
Comments
which version of nodejs is recommended for the 0.9.x release? |
Do you have 512mb ram? For the update consider using a swap file. I've seen this happen on the small digitalocean instances. |
Confirmed that the $5 droplet will run out of memory. In my case the meteor app would just quit out with "Killed". Was confusing until I ran top along with it. |
@Tarang I Have 4GB of ram |
I think I've a similar problem with cpu/ram but a different error
|
@grigio which nodejs version are you using? and fibers version 1.0.1 or 1.0.2? |
I'm using the versions bundled with the current
I've 2gb ram and I've added a small /swapfile and now it seems it doesn't happen anymore. |
@stefanocudini have you tried to update your node version to the current supported one 0.10.29 ? |
yes! from 0.10.28 to 0.10.31 same problem :( |
can you also test:
|
maybe my issue is related to Meteor-Community-Packages/ground-db#41 |
@stefanocudini looking into it - I'm using it production, got a deadline next week so it will be fixed - but its 0.8.3 local packages |
@stefanocudini I'm just wondering, this is a server-side issue right? it pretty limited what the grounddb does on the server-side. https://github.com/GroundMeteor/Meteor-GroundDB/blob/master/groundDB.server.js |
tnk! @raix yes I think that on server side.. maybe few regexpr that uglify-js don't recognize because some exceptions appear there. |
@stefanocudini uglyfy but your having problems on the server - is it only in production? (dont think uglify is used in dev mode) I think its an odd issue - I'm using grounddb in production, just ironing out stuff and creating better automated tests at the moment. Not sure if this issue should be closed rather mark it +0.9.0 |
yeah I confirm the issue with digital ocean $5 droplet. creating a swap file worked for me, but still, memory usage is at 97% and swap usage is 80%. The droplet is only used for one meteor app. Is that some kinda bug or what? |
I addressed this issue by implementing the swap file as well. Using $5 Droplet and followed instructions at http://stackoverflow.com/questions/26216127/memory-issue-with-meteor-up-mup-on-digital-ocean |
os: debian node: v0.10.28
after upgrade from 0.8.3 to 0.9 or 0.9.0.1
after run... cpu 100% for few minutes and finish every in this way:
The text was updated successfully, but these errors were encountered: