VladRodionov / bigbase

BigBase - read optimized, fully HBase-compatible, NoSQL Data Store
GNU Affero General Public License v3.0
9 stars 1 forks source link

Koda: NativeMemory keeps statis Malloc #29

Open VladRodionov opened 10 years ago

VladRodionov commented 10 years ago

Only single memory allocator is allowed and no global memory limit, expansion factor etc can be specified. We need Memory allocator per OffHeap instance, way to set global limit (to enable compaction), specify expansion factor, minimum slab size, total slabs. For example, for block cache min slab size can be 4K, for row cache - 64 bytes (not 16). We can set expansion factor to 1.1 instead of default 1.2, thus saving ~ 10% of space.