Node uses "a lot" depending on what that means.  Besides the actual amount
of buffer data you app logic keeps in ram, node itself uses about 10Mb
overhead for the bare process.  Also the GC is optimized more for speed
than memeory usage.  It doesn't really start freeing till it feels memory
pressure.  As was mentioned in the memory leak thread recently,  you can
enable gc hooks and manualy pressiure it to collect before it hits the
normal threshold.

So if you're on a mobile device and need a dozen processes, node can seem
like a memory hog.  If you're on a 16GB server and only have a single node
process, the overhead is insignificant.  In that case all that matters is
how your program handles it's buffers.
On Nov 19, 2012 9:52 PM, "Ket" <[email protected]> wrote:

> Hello,
>
> I've encountered a strange experience. When I tried to stream media, I
> mean huge media, through the network using node.js, the client side
> receives an uneven stream so it's not quite smooth viewing.
>
> Base on my research (Googling), some people say that node.js consumes a
> lot of memory. Is this true?
>
> The above problem is only 3-person network and just in the demo state. But
> what about a network of 10,000 and more users?
>
> Can node still handle this streaming? If not, what should I do to improve
> my user experience?
>
> Thanks in advance for understanding my concern.
>
>  --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to