1. A memory management method, applied to an embedded device, the embedded device comprising a system memory and a hardware memory, the embedded device operating based on addresses of a virtual memory, the method comprising: mapping a part of the addresses of the virtual memory to addresses of an indirect memory; and mapping the addresses of the indirect memory to physical addresses of at least one of the hardware memory and the system memory.