A memory management method, wherein the method is applied to an electronic device, a memory of the electronic device comprises one or more memory zones, each of the one or more memory zones is corresponding to n inactive lists and m active lists, wherein n is an integer greater than 1, m is an integer greater than or equal to 1, and the method comprises: putting, by the electronic device, each of inactive physical pages allocated by the memory into a corresponding inactive list among the n inactive lists based on the quantity of mappings to the inactive physical page by application processes, wherein the quantity of mappings to the inactive physical page by application processes is the quantity of application processes sharing the physical page; in the process of reclaiming physical pages of the memory by the electronic device, by the electronic device, scanning each of the n inactive lists, and performing reclaim check on physical pages in each scanned inactive list, wherein a larger quantity of mappings to the physical page in the inactive list by the application processes indicates a longer scanning cycle corresponding to the inactive list; and if it is checked that physical pages in the n inactive lists have not been accessed in a recent preset period, reclaiming the physical pages by the electronic device; or if it is checked that physical pages in the n inactive lists have been accessed in the recent preset period, moving the physical pages to the m active lists by the electronic device, wherein the scanning each of the n inactive lists by the electronic device characterized in that it comprises: sequencing the n inactive lists by the electronic device based on the quantity of mappings to each physical page by the application processes; and in the process of reclaiming the physical pages of the memory by the electronic device, performing P rounds of scanning on the n inactive lists by the electronic device, wherein P is an integer greater than or equal to 2, wherein in each of the P rounds of scanning, based on the sequence of the n inactive lists, the electronic device scans from the inactive list in which the physical page with the smallest quantity of mappings by the application processes is located, and the quantity of inactive lists scanned in each round is different. putting, by the electronic device, each of inactive physical pages allocated by the memory into a corresponding inactive list among the n inactive lists based on the quantity of mappings to the inactive physical page by application processes, wherein the quantity of mappings to the inactive physical page by application processes is the quantity of application processes sharing the physical page; in the process of reclaiming physical pages of the memory by the electronic device, by the electronic device, scanning each of the n inactive lists, and performing reclaim check on physical pages in each scanned inactive list, wherein a larger quantity of mappings to the physical page in the inactive list by the application processes indicates a longer scanning cycle corresponding to the inactive list; and if it is checked that physical pages in the n inactive lists have not been accessed in a recent preset period, reclaiming the physical pages by the electronic device; or if it is checked that physical pages in the n inactive lists have been accessed in the recent preset period, moving the physical pages to the m active lists by the electronic device, wherein the scanning each of the n inactive lists by the electronic device characterized in that it comprises: sequencing the n inactive lists by the electronic device based on the quantity of mappings to each physical page by the application processes; and in the process of reclaiming the physical pages of the memory by the electronic device, performing P rounds of scanning on the n inactive lists by the electronic device, wherein P is an integer greater than or equal to 2, wherein in each of the P rounds of scanning, based on the sequence of the n inactive lists, the electronic device scans from the inactive list in which the physical page with the smallest quantity of mappings by the application processes is located, and the quantity of inactive lists scanned in each round is different. sequencing the n inactive lists by the electronic device based on the quantity of mappings to each physical page by the application processes; and in the process of reclaiming the physical pages of the memory by the electronic device, performing P rounds of scanning on the n inactive lists by the electronic device, wherein P is an integer greater than or equal to 2, wherein in each of the P rounds of scanning, based on the sequence of the n inactive lists, the electronic device scans from the inactive list in which the physical page with the smallest quantity of mappings by the application processes is located, and the quantity of inactive lists scanned in each round is different.