The use of the same portion of memory by two distinct processes, or the memory so shared. Shared memory is used for interprocess communication and for purposes, such as common subroutines, that lead to compactness of memory. See also multiport memory, concurrency.