dominictarr/level-couch-sync — pull request #5 by wolfeidau (2013-04-30 12:23:27+00:00)
Title: Demonstration of using memwatch with sample to show GC stats

As per discussion this is how I am seeing the odd allocation patterns.

https://github.com/lloyd/node-memwatch is the module i am using.

Ideally at intervals during the sync process we would do a heap diff to locate the issue.

You will note that the "usage trend" is an indicator of leaks, this goes crazy later in the sync process.