title: node.js out of memory when run as a cron job
body: <p>I've written some JavaScript code which runs under node.js to backup a large (~20 MB) file to an Azure blob. This works when run from a bash shell, but fails with the following error when run as a cron job (run as root in both contexts):</p>
  
  <p><em>FATAL ERROR: v8::Context::New() V8 is no longer usable</em></p>
  
  <p>Presumably this means that it runs out of heap space, but where is the limit set for cron jobs?</p>
  
  <p>(This is on a 64-bit RHEL 6.2 server, with 8GB RAM and 426 GB free disk space.  Node.js is version 0.8.1 and Azure is from the file azure-2012-06.tar.gz.)</p>
  
  <p>Thanks
  Keith</p>