3 ms·
No. It was never allocated either. It was virtual memory before it was used, but once you use it, it's mapped into physical memory and marked as dirty. So it m
by marcosdumay 5y ago
No. It was never allocated either.
It was virtual memory before it was used, but once you use it, it's mapped into physical memory and marked as dirty. So it may be swapped out or live there, those are the only two options.
It would take your OS being fully aware of your usage schema for it to be able to free the memory.