Yes, that is possible because everything is bound to the Linux session using its PID (Process ID), which also includes off-heap memory.