I unmounted the ramdisk, but this time unmount process is unusually long. No error messages. After that, everything is normal. But the memory is not released.
My normal unmount time is 3-5 sec, but this time unmount time was near half a minute. At the same time ramdisk software window freezes. I used Rammap to find driver locked capacity size, which matches ramdisk size.
My question: Except for reboot, are there other ways to release the driver-locked memory?
Unmounting a RAM Disk is supposed to release all allocated memory. If it does not, something went wrong in that process.
My advice would be to let unmount go as long as it needs (even if it takes up to a minute). If you terminate the application during the operation, memory leaks are possible, in which case the only solution would be a reboot.
If you have a reproducible case, i.e. this happens every time, please submit a support ticket with as many technical details as possible, including your RAM Disk and OS version. With these data we may be able to reproduce the issue in our lab and identify exactly what goes wrong and why.