On Mon, Sep 17, 2012 at 3:40 PM, Ryan Schmidt
<google-2...@ryandesign.com> wrote:
> So do I understand correctly: a node program could use up all the computer's 
> memory?
>
> If I then need to launch additional programs, will node notice this and 
> reduce its memory usage so that the new program doesn't incur virtual memory 
> penalties?
>
> Is there a memory size at which this becomes a performance problem—for 
> example what if I run a node app on a server with 128GB of RAM?

If you manage to fill up 128 GB, you get a cookie. The 2 GB that was
reported earlier in this thread is close to the maximum that V8 will
allocate.

If that's still too much, you can limit the heap size with
--max-old-space-size=<x> where <x> is in megabytes.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to