Sync Gateway 1.2 : rev_cache_size and memory consumption

I created a new Sync Gateway issue on github [issue #1934] (it appears i am not allowed to insert link to the post).

An attached zip file includes 4 heap profiles captured during a new test (with default rev_cache_size value).