5c26f5a86d
+ Track memory usage at a segment level + Add a new scorch API: MemoryUsed() - Aggregate the memory consumption across segments when API is invoked. + TODO: - Revisit the second iteration if it can be gotten rid off, and the size accounted for during the first run while building an in-mem segment. - Accounting for pointer and slice overhead. |
||
---|---|---|
.. | ||
build.go | ||
dict_test.go | ||
dict.go | ||
posting.go | ||
segment_test.go | ||
segment.go |