The invention provides an anti-
addiction method and device based on a memory,
electronic equipment and a storage medium. The method comprises the following steps: after an application program is started, acquiring a use time threshold t and an
average memory consumption threshold s of the application program according to attribute information of the application program and a
current time state; monitoring foreground
running time T of the application program; when the current
station running time T is larger than or equal to the use time threshold value t of the preset time proportion, the current
average memory consumption m of the application program is monitored; and when the current
average memory consumption m meets an average memory consumption threshold value s in a preset memory proportion range, starting an anti-
addiction strategy for the application program. According to the method, dual management and control can be carried out based on time and memory, real-time
dynamic monitoring is carried out on memory changes in the use process of application programs, especially entertainment game application programs, anti-
addiction management and control of a
system cannot be avoided no matter how the application programs change, and a user is prevented from being addicted to the application programs.