Method and apparatus for returning memory
Abstract:
An electronic device includes a display; a memory configured to store at least one instruction corresponding to at least one program; and a processor configured to execute the at least one instruction as a process, wherein the processor is configured to: predict, in response to a foreground execution of a first process, an amount of an available memory at a time point after an elapse of a predetermined time from the foreground execution of the first process, based on memory usage information stored in the memory; based on the predicted amount of the available memory exceeding a predetermined threshold value, suspend a memory return operation for the predetermined time; and based on the predicted amount of the available memory being less than the predetermined threshold value, perform the memory return operation without suspending the memory return operation.
Public/Granted literature
Information query
Patent Agency Ranking
0/0