twitter.stream() memory test
============================
Add your oauth details to memory.js and run: node memory.js | grep '^{"rss'
All tests run with node-twitter 0.1.4 on amd64.
node 0.2.5
----------
First report 15s after connection:
{"rss":15527936,"vsize":641900544,"heapTotal":9790784,"heapUsed":6038032,"tweets":141}
Then every 60s thereafter, for 10min:
{"rss":27459584,"vsize":647766016,"heapTotal":19803168,"heapUsed":13285208,"tweets":657}
{"rss":22380544,"vsize":643698688,"heapTotal":22838656,"heapUsed":6190456,"tweets":748}
{"rss":30773248,"vsize":643698688,"heapTotal":22642048,"heapUsed":5910000,"tweets":704}
{"rss":29765632,"vsize":642478080,"heapTotal":22895008,"heapUsed":9168464,"tweets":739}
{"rss":30179328,"vsize":642478080,"heapTotal":23147968,"heapUsed":11336200,"tweets":733}
{"rss":30265344,"vsize":642641920,"heapTotal":23147968,"heapUsed":12100416,"tweets":718}
{"rss":30265344,"vsize":642641920,"heapTotal":23147968,"heapUsed":13586760,"tweets":749}
{"rss":29929472,"vsize":642641920,"heapTotal":23147968,"heapUsed":13601368,"tweets":704}
{"rss":17620992,"vsize":642904064,"heapTotal":10565056,"heapUsed":7058816,"tweets":696}
{"rss":22384640,"vsize":643166208,"heapTotal":15265280,"heapUsed":7695208,"tweets":684}
node 0.3.2
----------
First report 15s after connection:
{"rss":15224832,"vsize":643862528,"heapTotal":8507456,"heapUsed":5220336,"tweets":181}
Then every 60s thereafter, for 10min:
{"rss":16572416,"vsize":643997696,"heapTotal":9029696,"heapUsed":5498744,"tweets":696}
{"rss":11419648,"vsize":643899392,"heapTotal":4716608,"heapUsed":2667984,"tweets":707}
{"rss":14233600,"vsize":644161536,"heapTotal":6548544,"heapUsed":3583680,"tweets":749}
{"rss":16539648,"vsize":644161536,"heapTotal":8906816,"heapUsed":3567664,"tweets":735}
{"rss":16592896,"vsize":644161536,"heapTotal":8906816,"heapUsed":5034392,"tweets":734}
{"rss":16592896,"vsize":644161536,"heapTotal":8906816,"heapUsed":5489256,"tweets":711}
{"rss":12730368,"vsize":643899392,"heapTotal":5765184,"heapUsed":3313272,"tweets":698}
{"rss":13983744,"vsize":644161536,"heapTotal":6287424,"heapUsed":4020752,"tweets":761}
{"rss":16306176,"vsize":644161536,"heapTotal":8645696,"heapUsed":4063720,"tweets":742}
{"rss":15040512,"vsize":644161536,"heapTotal":8645696,"heapUsed":5595896,"tweets":695}
|