Switched to contiguous memory from pmem and revert back to vmalloc from kmalloc for better handling of larger chunks of memory