title: Memory issue with meteor up (mup) on Digital Ocean
body: <p>I couldn't find existing posts related to my issue. On a Digital Ocean Droplet, mup setup went fine, but when I try to deploy, I get the following error. Any ideas? Thanks!</p>
  
  <pre><code>root@ts:~/ts-deploy# mup deploy
  
  Meteor Up: Production Quality Meteor Deployments
  
  Building Started: /root/TS/
  Bundling Error: code=137, error:
  -------------------STDOUT-------------------
  
  Figuring out the best package versions to use. This may take a moment.
  
  -------------------STDERR-------------------
  bash: line 1: 31217 Killed meteor build --directory /tmp/dc37af3e-eca0-4a19-bf1a-d6d38bb8f517
  </code></pre>
  
  <p>Below are the logs. node -v indicates I am using 0.10.31. How do I check which script is exiting with the error? Any other ideas? Thanks!</p>
  
  <pre><code>error: Forever detected script exited with code: 1
  error: Script restart attempt #106
  Meteor requires Node v0.10.29 or later.
  error: Forever detected script exited with code: 1
  error: Script restart attempt #107
  Meteor requires Node v0.10.29 or later.
  error: Forever detected script exited with code: 1
  error: Script restart attempt #108
  
  stepping down to gid: meteoruser
  stepping down to uid: meteoruser
  </code></pre>
  
  <p>After I went back to an old backup of the DO Droplet, and re-ran mup setup and mup deploy, I now get this in the command line output</p>
  
  <pre><code>Building Started: /root/TS
  Bundling Error: code=134, error:
  -------------------STDOUT-------------------
  
  Figuring out the best package versions to use. This may take a moment.
  
  -------------------STDERR-------------------
  FATAL ERROR: JS Allocation failed - process out of memory
  bash: line 1:  1724 Aborted                 (core dumped) meteor build --directory /tmp/bfdbcb45-9c61-435f-9875-3fb304358996
  </code></pre>
  
  <p>and this in the logs:</p>
  
  <pre><code> &gt;&gt; stepping down to gid: meteoruser
   &gt;&gt; stepping down to uid: meteoruser
  Exception while invoking method 'login' TypeError: Cannot read property '0' of undefined
      at ServiceConfiguration.configurations.remove.service (app/server/accounts.js:7:26)
      at Object.Accounts.insertUserDoc (packages/accounts-base/accounts_server.js:1024)
      at Object.Accounts.updateOrCreateUserFromExternalService (packages/accounts-base/accounts_server.js:1189)
      at Package (packages/accounts-oauth/oauth_server.js:45)
      at packages/accounts-base/accounts_server.js:383
      at tryLoginMethod (packages/accounts-base/accounts_server.js:186)
      at runLoginHandlers (packages/accounts-base/accounts_server.js:380)
      at Meteor.methods.login (packages/accounts-base/accounts_server.js:434)
      at maybeAuditArgumentChecks (packages/ddp/livedata_server.js:1594)
      at packages/ddp/livedata_server.js:648
  Exception while invoking method 'login' TypeError: Cannot read property '0' of undefined
      at ServiceConfiguration.configurations.remove.service (app/server/accounts.js:7:26)
      at Object.Accounts.insertUserDoc (packages/accounts-base/accounts_server.js:1024)
      at Object.Accounts.updateOrCreateUserFromExternalService (packages/accounts-base/accounts_server.js:1189)
      at Package (packages/accounts-oauth/oauth_server.js:45)
      at packages/accounts-base/accounts_server.js:383
      at tryLoginMethod (packages/accounts-base/accounts_server.js:186)
      at runLoginHandlers (packages/accounts-base/accounts_server.js:380)
      at Meteor.methods.login (packages/accounts-base/accounts_server.js:434)
      at maybeAuditArgumentChecks (packages/ddp/livedata_server.js:1594)
      at packages/ddp/livedata_server.js:648
  </code></pre>