A memory access method, for use in a computer system, wherein a memory device of the computer system comprises a local memory device and a remote memory device, and the method comprises: receiving a memory access request, wherein the memory access request carries address information of a to-be-accessed memory area; determining, according to the address information, the to-be-accessed memory area indicated by the address information; when the to-be-accessed memory area is in local memory, performing an access operation on the to-be-accessed memory area according to the memory access request, wherein the local memory device comprises the local memory and a remote cache, and the remote cache is used as a cache of the remote memory device; and when the to-be-accessed memory area is in the remote memory device, and the remote cache comprises a cache block corresponding to the to-be-accessed memory area, performing an access operation on the cache block corresponding to the to-be-accessed memory area according to the memory access request; wherein before the receiving a memory access request, the method further comprises: determining a capacity of the local memory and a capacity of the remote cache in the local memory device; and assigning memory addresses to the local memory and the remote memory device; characterised in that the determining a capacity of the local memory and a capacity of the remote cache in the local memory device comprises: determining the capacity of the remote cache in the local memory device according to a capacity of the remote memory device and a preset hit rate, wherein the capacity of the remote cache is separately in a positive correlation relationship with the capacity of the remote memory device and the preset hit rate; and using a remaining capacity of the local memory device as the capacity of the local memory. receiving a memory access request, wherein the memory access request carries address information of a to-be-accessed memory area; determining, according to the address information, the to-be-accessed memory area indicated by the address information; when the to-be-accessed memory area is in local memory, performing an access operation on the to-be-accessed memory area according to the memory access request, wherein the local memory device comprises the local memory and a remote cache, and the remote cache is used as a cache of the remote memory device; and when the to-be-accessed memory area is in the remote memory device, and the remote cache comprises a cache block corresponding to the to-be-accessed memory area, performing an access operation on the cache block corresponding to the to-be-accessed memory area according to the memory access request; wherein before the receiving a memory access request, the method further comprises: determining a capacity of the local memory and a capacity of the remote cache in the local memory device; and assigning memory addresses to the local memory and the remote memory device; characterised in that the determining a capacity of the local memory and a capacity of the remote cache in the local memory device comprises: determining the capacity of the remote cache in the local memory device according to a capacity of the remote memory device and a preset hit rate, wherein the capacity of the remote cache is separately in a positive correlation relationship with the capacity of the remote memory device and the preset hit rate; and using a remaining capacity of the local memory device as the capacity of the local memory. determining a capacity of the local memory and a capacity of the remote cache in the local memory device; and assigning memory addresses to the local memory and the remote memory device; characterised in that the determining a capacity of the local memory and a capacity of the remote cache in the local memory device comprises: determining the capacity of the remote cache in the local memory device according to a capacity of the remote memory device and a preset hit rate, wherein the capacity of the remote cache is separately in a positive correlation relationship with the capacity of the remote memory device and the preset hit rate; and using a remaining capacity of the local memory device as the capacity of the local memory.