摘要 |
Provided are a memory management method, apparatus, and system, which can easily implement sharing of a memory resource. The method includes: sending, by a requesting node, first indication information, where the first indication information is used for indicating a length of memory required by the requesting node; receiving, by the requesting node, second indication information, where the second indication information is used for indicating first remote memory provided to the requesting node by a target contributing node in at least one contributing node that can provide remote memory; determining, by the requesting node from available virtual addresses, a first virtual address corresponding to the first remote memory; and when first data whose pointer is within a range of the first virtual address needs to be read/written, sending, by the requesting node, a first data read/write instruction for the first data, where the first data read/write instruction includes third indication information, and the third indication information is used for indicating storage space, for storing the first data, in the first remote memory. |