Yeah. I mean, I'm not that dumb:) I use free instead of top:
When I'm running the nodejs wiki server:
charlie@www:~$ free -h
total used free shared buffers cached
Mem: 997M 819M 177M 32M 116M 189M
-/+ buffers/cache: 513M 483M
Swap: 511M 444K 511M
------------------------------------------------------------------------------------
charlie@www:~$ free -h
total used free shared buffers cached
Mem: 997M 611M 386M 32M 116M 189M
-/+ buffers/cache: 304M 692M
Swap: 511M 444K 511M
God I pressed some key and sent the email mistakenly. So I will start again with the measure. As you can see from the above, I upgraded my vhost yesterday, so now I have more memory, but I'm still interested.
Basicly the measure shows that the nodejs wiki server takes about 209M memory. Here's how I started the server:
/usr/lib/node_modules/tiddlywiki/tiddlywiki.js /var/www/tiddly --server 9000
Please tell me if I'm doing it wrong.
By the way, I'm using pm2 to manage the process. The parameter's are the same. And the memory usage are about the same, too.
--
Same problem here. Without any tiddlers I measured 209M of memory consumption. I created some tiddlers and added 2 or 3 images and the node process consumed about 300M. That's a pity as my shared hosting is also limited to 500M. I am afraid that it won't take long to hit the limit.