How to set memory limit to NodeJS running with forever
<p>I'm running my <strong>Node JS</strong> process through <strong>forever</strong> as below:</p>

<blockquote>
  <p>sudo forever start -o out.log -e error.log myServer.js</p>
</blockquote>

<p>I want to change the <strong>memory limit</strong> of my NodeJs server as I do like below when I'm running it purely with node.</p>

<blockquote>
  <p>node --max-old-space-size=512 myServer.js</p>
</blockquote>

<p>How I can do the same when I'm running it with forever? Is there some way like 'forever start --max-old-space-size=512'</p>