The organization and allocation of memory in a computer system, including virtual memory, paging, and segmentation.