loading time and memory consumption in child_process fork vs spawn

70 views
Skip to first unread message

Vinay Ram

unread,
May 28, 2014, 7:14:44 PM5/28/14
to nod...@googlegroups.com
I am trying to spawn several node processes using child_process module. 
In terms of loading time and memory usage is there any difference between child_process.fork and child_process.spawn (with detached true) ?

Aria Stewart

unread,
May 29, 2014, 10:37:20 AM5/29/14
to nod...@googlegroups.com

On May 28, 02014, at 19:14, Vinay Ram <vina...@gmail.com> wrote:

> I am trying to spawn several node processes using child_process module.
> In terms of loading time and memory usage is there any difference between child_process.fork and child_process.spawn (with detached true) ?

Not really.

signature.asc

Stefano Cudini

unread,
May 29, 2014, 8:35:14 PM5/29/14
to nod...@googlegroups.com
I think I've spotted a small memory leak when using spawn
Reply all
Reply to author
Forward
0 new messages