Abstract:
A method and an apparatus are provided for controlling a memory in an electronic device. A kernel of a control unit in the electronic device receives importance information, based on program information, and memory usage, from an Operating System (OS) framework of the control unit. It is determined whether a memory request signal is received at the kernel from the OS framework. The kernel terminates at least one program based on the memory request signal and the importance information, when the memory request signal is received.
Abstract:
Various embodiments of the present invention relate to an apparatus and a method for managing memory in an electronic device. The electronic device comprises a volatile memory, a non-volatile memory and a processor, wherein the processor is configured to store first data and second data, stored in a first specified area of the volatile memory, in a second specified area of the volatile memory, to check the stored order of the first data and the second data stored in the second specified area, and to move at least one of the first data and the second data from the second specified area of the volatile memory to a third specified area of the non-volatile memory if the states of the first data and the second data satisfy a specified condition on the basis of the order. Other embodiments may be possible.