Memory management method and device, computer storage medium and terminal

The embodiment of the invention discloses a memory management method and device, a computer storage medium and a terminal, and the method comprises the steps: obtaining a memory change value, corresponding to a preset time interval, of a to-be-detected application program in a running state after th...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: CHEN ZENGGUI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a memory management method and device, a computer storage medium and a terminal, and the method comprises the steps: obtaining a memory change value, corresponding to a preset time interval, of a to-be-detected application program in a running state after the terminal is started; when the obtained memory change value is greater than a preset memory threshold, judging whether the to-be-detected application program is in a white list or not; and if the to-be-detected application program is not in the white list, stopping the operation of the to-be-detected application program so as to release the memory occupied by the to-be-detected application program. 本申请实施例公开了一种内存管理方法、装置、计算机存储介质和终端,该方法包括:终端启动后,获取处于运行状态的待检测应用程序在预设时间间隔对应的内存变化值;当所获取的内存变化值大于预设内存阈值时,判断所述待检测应用程序是否在白名单内;若所述待检测应用程序不在白名单内,则终止所述待检测应用程序的运行,以释放所述待检测应用程序所占用的内存。