RavenDB-2040 Fixing logging exception because of a missing parameter
Merge branch 'prefetcher-tweak-large-docs' of https://github.com/myarichuk/ravendb
Code review:
* Avoid allocations in aggregation
* Better (hopefully) heuristics for changing batch sizes
* Tracking actual sizes in bytes, not kb
Fixing NullableExample.InvalidShirt
two changes:
* tweaked auto tuner logic with regards to high memory usage by indexing
* fixed issue with compression in Esent - SerializedSizeOnDisk was receiving compressed document size --> changed so it receives decompressed document size
* tweaked GetDocsFromBatchWithPossibleDuplicates so it won't grow prefetchingQueue larger than threshold