1. Create a RAM disk and open the pool file there, or open the pool file with FILE_ATTRIBUTE_TEMPORARY and FILE_FLAG_DELETE_ON_CLOSE flags. The second option keeps the file in memory unless the system experiences low memory
2. Enable PMEM_NO_FLUSH=2 as suggested in the issue above.
Alternatively, could setting PMEM_IS_PMEM and opening the file on a ramdisk or with the attributes above achieve something similar already?