Maybe I misunderstand but if the process ends its entire virtual address space is gone no? Did you mean subprocess or something different?
On some OS’s
On some OS’s