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.