add HeapArray and OffHeapArray