using Non-Heap Memory store key-value to reduce gc time