|
|
|
|
|
by microtonal
4122 days ago
|
|
Plus with Ruby we have to run multiple processes so whatever memory single process consume times # of workers. I don't use the Ruby stack, but if forking happens after loading libraries, this is not true, since most UNIXes (such as Linux) use COW memory pages when forking. So, it may appear that you use N times the memory of a single process, but most of their memory pages are shared. See fork(2). |
|
Only in recent Ruby versions is that not a problem (and was changed for exactly that reason).
But yes, your memory report might be read wrong.