Patent Description:
In order to calculate and process predetermined information according to a specific process, an electronic apparatus basically including electronic components such as a CPU, a chipset, and a memory for operation may be classified into various types according to what information is to be processed. For example, the electronic apparatus includes an information processing apparatus such as a PC or a server that processes general-purpose information, and an image processing apparatus that processes image information. Various electronic apparatuses, such as the image processing apparatus, the display apparatus, and the information processing apparatus, perform preassigned functions as a single entity.

A basic structure in which the electronic apparatus operates should consider two aspects of hardware and software together. In terms of hardware, the electronic apparatus includes a CPU, a processor or SOC, which is an entity for operation and processing of processes, and a memory into which data for the process is loaded. In terms of software, the electronic apparatus includes an operating system or a kernel that performs basic management of a system, and an application that drives on the operating system and executes processes. For example, the CPU loads data corresponding to the operating system into memory and executes the data, and loads applications into the memory while the operating system is executed, and executes the applications on the operating system, so the processes are performed by execution of the applications.

When execution and termination of multiple processes are repeated over time, the share of data of process being loaded into memory, that is, a used capacity of the memory increases and available capacity of the memory decreases. When the available capacity of the memory decreases to a predetermined limit or lower, the operating system of the electronic apparatus performs an operation of reducing the used capacity of the memory and increasing the available capacity of the memory for execution of a subsequent process. Typically, this operation is referred to as memory recovery. The <CIT> discloses a memory recovery method that in which files are removed according to the usage of the files. The <CIT> discloses a method in which memory reduction operations are performed based on a memory usage level.

The memory recovery is implemented by program code in the operating system, and is performed when a predetermined condition is satisfied. The operating system may have various memory recovery methods, for example, a conventional Linux-based operating system has a memory recovery method of kernel swap daemon (KSD) and low memory killer (LMK). However, such a memory recovery operation inevitably causes a load of the CPU, but the CPU is not used only for the memory recovery operation due to multitasking characteristics of the electronic apparatus. That is, the CPU may be used by another process even while the memory recovery operation is being performed, and in this case, an overload of the CPU may occur. The overload of the CPU causes a delay in the operation of the electronic apparatus.

Accordingly, there is a need for an electronic apparatus capable of adaptively performing the memory recovery to a system state while minimizing the overload of the CPU.

According to the invention, an electronic apparatus as defined in claim <NUM> is disclosed.

The current operating load of the electronic apparatus includes a current operating load of the processor.

The processor executes the first memory recovery operation having a memory recovery rate faster than that of the second memory recovery operation when the checked level is greater than a first threshold, and executes the second memory recovery operation when the checked level is not greater than the first threshold.

The first memory recovery operation may be based on a low memory killer (LMK) type, and the second memory recovery operation may be based on a kernel swap daemon (KSD) type.

Any one of the first memory recovery operation and the second memory recovery operation may be executed when the available capacity is detected to be lower than a second threshold.

The processor may execute the first memory recovery operation and the second memory recovery operation together when the available capacity is lower than a third threshold after any one of the first memory recovery operation and the second memory recovery operation is executed, the third threshold being lower than the second threshold.

The second memory recovery operation may classify data of the process loaded into the memory according to a preset importance, and perform the memory recovery for some data classified according to the classified result.

The first memory recovery operation may perform the memory recovery for the entire data of the process loaded into the memory.

According to another aspect of the invention, a control method of an electronic apparatus is disclosed according to claim <NUM>.

The executing of any one of the first memory recovery operation and the second memory recovery operation includes executing the first memory recovery operation having a memory recovery rate faster than that of the second memory recovery operation when the checked level is greater than a first threshold, and executing the second memory recovery operation when the checked level is not greater than the first threshold.

The first memory recovery operation may be based on an LMK type, and the second memory recovery operation may be based on a KSD type.

The control method further includes: executing the first memory recovery operation and the second memory recovery operation together when the available capacity is lower than a third threshold after any one of the first memory recovery operation and the second memory recovery operation is executed, the third threshold being lower than the second threshold.

Embodiments described with reference to each drawing are not mutually exclusive configurations unless otherwise specified, and a plurality of embodiments may be selectively combined and implemented in one apparatus.

If there are terms including an ordinal number such as a first component, a second component, and the like in embodiments, these terms are used to describe various components, and the terms are used to distinguish one component from other components, and therefore meaning of these components are not limited by these terms.

In addition, in the case where the expression "at least one" among a plurality of components is described in the present specification, this expression refers to not only the whole of a plurality of components, but each one excluding the rest of the plurality of components or all combinations of thereof.

<FIG> is a configuration block diagram of a display apparatus according to an embodiment of the present disclosure.

As illustrated in <FIG>, the apparatus according to the present embodiment is implemented as a display apparatus <NUM>. However, the apparatus to which the present disclosure is applied may be implemented as not only a display apparatus <NUM> but also various types of electronic apparatuses that are provided to execute a predetermined process when various applications are installed and the corresponding application is executed. Such an electronic apparatus may be implemented as various types of apparatuses such as a TV, a desktop or a laptop computer, a tablet computer, a mobile phone, a portable multimedia player, a wearable apparatus, a video wall, an electronic frame, and household appliances.

The display apparatus <NUM> includes a communication unit <NUM> that communicates with an external apparatus, a signal input/output unit <NUM> that is provided to input/output predetermined data, a display unit <NUM> that displays an image, a user input unit <NUM> that performs user input, a storage unit <NUM> in which data is stored, and a processor <NUM> that processes data.

The communication unit <NUM> is a component for communication connection to a network and is a bidirectional communication circuit that includes at least one of components such as communication modules and communication chips corresponding to various types of wired and wireless communication protocols. For example, the communication unit <NUM> includes a wireless communication module for performing wireless communication with an AP according to a Wi-Fi method, a LAN card wired to a router or a gateway, and the like.

The signal input/output unit <NUM> is a component for local connection, and is wired to a predetermined external apparatus in a one-to-one or one-to-many manner to receive data or output data to and from the external apparatus. The signal input/output unit <NUM> includes at least one port provided to connect to a connector according to predetermined transmission standards, such as an HDMI port and a USB port.

The display unit <NUM> includes a display panel that may display an image on a screen. The display panel is provided as a light-receiving structure such as a liquid crystal type or a self-luminous structure such as an OLED type. The display unit <NUM> may further include additional components according to the structure of the display panel. For example, if the display panel is a liquid crystal type, the display unit <NUM> includes a backlight unit that supplies light to a liquid crystal display panel and a panel driving substrate that drives a liquid crystal of the liquid crystal display panel.

The user input unit <NUM> includes various types of input interfaces provided to perform user input. The user input unit <NUM> may be configured in various forms according to the type of the display apparatus <NUM>, and is, for example, a mechanical or electronic button unit of the display apparatus <NUM>, a remote controller separated from the display apparatus <NUM>, a touch pad, a touch screen installed on the display unit <NUM>, and the like.

The storage unit <NUM> is accessed by the processor <NUM>, and operations such as reading, writing, modifying, deleting, and updating data are performed according to the control of the processor <NUM>. The storage unit <NUM> includes a nonvolatile memory <NUM> capable of storing data regardless of whether or not power is provided, and a volatile memory <NUM> in which data may be stored while power is being supplied and data is lost when power is not supplied. Examples of the nonvolatile memory <NUM> include a flash-memory, a hard disk drive, a solid-state drive (SSD), and the like, and examples of the volatile memory <NUM> include a buffer, a RAM, and the like.

The processor <NUM> includes at least one hardware processor implemented as a CPU, a chipset, a buffer, a circuit, and the like that are mounted on a printed circuit board, and may be implemented as a system on chip (SOC) depending on the design method. The processor <NUM> includes modules corresponding to various processes such as a demultiplexer, a decoder, a scaler, an audio DSP, and an amplifier, in which some or all of them may be implemented as an SOC. For example, a module related to image processing such as a demultiplexer, a decoder, and a scaler may be implemented as an image processing SOC, and an audio DSP may be implemented as a separate chipset from the SOC.

The processor <NUM> is a hardware subject of an operation for performing general operations of the display apparatus <NUM>. In terms of software, a predetermined operation of the display apparatus <NUM> is performed by the operating system or the kernel or is performed by an application executed on the kernel, and the processor <NUM> performs operation, processing, and control of data so that the software is executed. For example, the processor <NUM> executes the operating system or the kernel of the display apparatus <NUM>, and also executes an application or a program on the kernel to perform the process.

The processor <NUM> first loads data related to the process into a RAM, which is the volatile memory <NUM>, and executes the process based on the data loaded into the RAM. Hereinafter, the principle in which the processor <NUM> loads the data into the RAM will be described.

<FIG> is an exemplary diagram illustrating a principle that the processor of the display apparatus according to the embodiment of the present disclosure loads the data into the RAM.

As illustrated in <FIG>, a display apparatus <NUM> includes a flash memory <NUM> which is a nonvolatile memory for storing data of a kernel <NUM> and a plurality of applications <NUM>, a RAM <NUM> which is a volatile memory, and a processor <NUM>. The operation of the kernel <NUM> which is software and the application <NUM> is performed by the operation, processing, and control of the processor <NUM> which is hardware.

When a power supply of the display apparatus <NUM> is turned on, booting is performed, and the kernel <NUM> is loaded from the flash memory <NUM> into the RAM <NUM> during the booting and executed on the RAM <NUM>. The kernel <NUM> responds to various events that are generated while the operation of the display apparatus <NUM> is in progress, and as a result, each application <NUM> is loaded into the RAM <NUM>. The application <NUM> loaded into the RAM <NUM> occupies an available capacity of the RAM <NUM> and is executed on the kernel <NUM>.

The available capacity of the RAM <NUM> refers to a capacity of a storage area of the RAM <NUM> where no data is loaded or allocated for the currently executing process. Meanwhile, the used capacity of the RAM <NUM> refers to the capacity of the storage area of the RAM <NUM> where data is loaded or allocated for the currently executing process.

The kernel <NUM> may load the application <NUM> of the flash memory <NUM> into the RAM <NUM> according to the execution or termination event of various processes and executes the application <NUM>, or may release allocation of data of the application <NUM> in the storage area of the RAM <NUM>.

However, if the execution of the process is repeated as an operation time of the display apparatus <NUM> elapses, the used capacity of the RAM <NUM> may increase, and the available capacity of the RAM <NUM> may thus be insufficient. When the available capacity of the RAM <NUM> is insufficient, it is difficult to load the data for the new process into the RAM <NUM>.

Accordingly, when it is determined that the available capacity of the RAM <NUM> is insufficient, the kernel <NUM> performs the memory recovery operation. The kernel <NUM> may determine whether the available capacity of the RAM <NUM> is insufficient in various ways. For example, if it is determined that the available capacity of the RAM <NUM> is lower than a preset first threshold, the used capacity of the RAM <NUM> is greater than a preset second threshold, or the number of currently executing processes is greater than a preset third threshold, the kernel <NUM> may be determined that the memory recovery operation is required.

Hereinafter, the memory recovery operation of the kernel <NUM> or the processor <NUM> according to the embodiment of the present disclosure will be described.

<FIG> is a flowchart illustrating a control method of a display apparatus according to an embodiment of the present disclosure.

As illustrated in <FIG>, the following operation is performed by a processor that drives the kernel installed in the display apparatus.

In step <NUM>, the display apparatus detects that an event is occurred in which the available capacity of the RAM is lower than a predetermined first threshold. If no event has been occurred in which the available capacity of the RAM is lower than the first threshold, the display apparatus maintains the currently executing process.

On the other hand, if it is detected that an event has been occurred in which the available capacity of the RAM is lower than the first threshold, in step <NUM>, the display apparatus checks a current operating load level of the display apparatus.

In step <NUM>, the display apparatus compares the checked current operating load level with a predetermined second threshold.

If the current operating load level is greater than the second threshold, in step <NUM>, the display apparatus executes a first memory recovery operation among the plurality of memory recovery operations.

On the other hand, if the current operating load level is not greater than the second threshold, in step <NUM>, the display apparatus executes a second memory recovery operation having a memory recovery rate different from that of the first memory recovery operation among the plurality of memory recovery operations.

The above operations are implemented by a program code included in the kernel.

As a result, the display apparatus may minimize the overload of the system due to the memory recovery operation by selecting the optimized memory recovery operation in response to the current operating load of the display apparatus.

Here, there can be various methods of checking the current operating load level of the display apparatus. For example, the display apparatus may determine the current operating load level of the display apparatus according to the current usage rate of the processor indicated by a percentage, or the number of currently executing processes. That is, the display apparatus determines that the operating load level is high when the current usage rate of the processor is high, and determines that the operating load level is low when the current usage rate of the processor is low.

In addition, in the present embodiment, it has been described that the display apparatus executes the first memory recovery operation when the current operating load level is relatively high, and executes the second memory recovery operation when the current operating load level is relatively low. However, there may be three or more memory recovery operations of different methods, and the display apparatus can be configured to divide a possible range of the current operating load level into a plurality and perform individual memory recovery operations corresponding to each divided range.

Meanwhile, the plurality of memory recovery operations may be applied to the display apparatus in various ways depending on the type or characteristics of the kernel. For example, the Linux-based kernel has a memory recovery method of kernel swap daemon (KSD) and low memory killer (LMK). In the present embodiment, the first memory recovery operation has specifically a faster memory recovery rate, a lower processor load, and lower memory recovery efficiency than the second memory recovery operation.

That is, when the memory recovery operation is to be performed, the display apparatus according to the embodiment of the present disclosure executes the first memory recovery operation having a relatively faster memory recovery rate when the current operating load of the apparatus is high, and executes a second memory recover operation having a relatively slower memory recovery rate when the current operating load of the apparatus is low. Thereby, it is possible to minimize delays of various processes executed on the display apparatus while the memory recovery operation is being executed.

Considering this, the first memory recovery operation corresponds to the LMK in the Linux-based kernel, and the second memory recovery operation corresponds to the KSD. Hereinafter, the LMK and KSD will be described in detail.

<FIG> is an exemplary diagram illustrating a principle that the display apparatus according to the embodiment of the present disclosure executes the KSD.

As illustrated in <FIG>, a bar graph indicating step <NUM> before the memory recovery indicates the used capacity currently occupied by various processes of the display apparatus in the total capacity of the RAM. Assuming that the total capacity of the entire storage area of the RAM is <NUM>%, a used capacity <NUM> of the RAM occupied by the process in step <NUM> is m%, and the remaining available capacity <NUM> of the RAM is (<NUM> - m)%.

The KSD is a method of recovering memory by classifying main data and additional data among the data of the process loaded into the RAM, and maintaining the main data in the RAM and excluding the additional data from the RAM according to the classified result. Here, the main data is core data necessary for the execution of the process, and includes a program code of an application, and the like. The additional data is data having less importance in the process than the main data, that is, data that may or may not be selectively used in the execution of the process, and includes cache data, metadata, and the like.

The display apparatus executes the KSD to perform the memory recovery. According to the bar graph of step <NUM> after the memory recovery, among the data of the process occupying m% in the previous step <NUM>, main data <NUM> of the process occupying n% is maintained, and additional data <NUM> of the process occupying (m - n)% is recovered.

As described above, since the main data <NUM> of the process is not recovered and maintained in RAM, the memory recovery operation according to the KSD may use the main data <NUM> maintained in the RAM as it is when the corresponding process is re-executed later. Therefore, the KSD has relatively fast responsiveness when the corresponding process is re-executed, and relatively high memory recovery efficiency.

On the other hand, since the KSD needs to distinguish the main data <NUM> and the additional data <NUM> among the data of the process loaded into the RAM, the processor load is relatively high and the memory recovery rate is relatively slow.

<FIG> is an exemplary diagram illustrating a principle that the display apparatus according to the embodiment of the present disclosure executes LMK.

As illustrated in <FIG>, a bar graph indicating step <NUM> before the memory recovery indicates the used capacity currently occupied by various processes of the display apparatus in the total capacity of the RAM. Assuming that the total capacity of the entire storage area of the RAM is <NUM>%, a used capacity <NUM> of the RAM occupied by the process in step <NUM> is m%, and an available capacity <NUM> of the RAM is (<NUM> - m)%.

Unlike the KSD, the LMK does not distinguish the main data and the additional data among the data of the process loaded into the RAM. The LMK is a method of recovering memory by excluding, from the RAM, all the data of the process having less importance among the processes loaded into the RAM. More specifically, a plurality of groups divided by importance defined in advance are set, and the LMK is a method of identifying a process belonging to a group of low importance among a plurality of groups and recovering data of the identified process.

The display apparatus executes the LMK to perform the memory recovery. According to the bar graph of step <NUM> after the memory recovery, it can be seen that all the data <NUM> of the process occupying m% in the previous step <NUM> is recovered. <FIG> illustrates that the capacity of the RAM is <NUM>%, which is simplified for a clear comparison with the KSD described above. That is, in <FIG>, in step <NUM> to which the LMK is applied, only the case of the process having low importance is illustrated.

As described above, the memory recovery operation according to the LMK requires a process in which the data of the corresponding process is loaded into the RAM again when the corresponding process is re-executed later since all the data of the process is recovered from the RAM. Therefore, the LMK has relatively slow responsiveness when the corresponding process is re-executed and relatively low memory recovery efficiency.

On the other hand, the LMK does not distinguish the main data and the additional data among the data of the process loaded into the RAM, and recovers all the data of the selected process according to the importance, so the load of the processor is relatively low and the memory recovery rate is relatively fast.

The difference between the KSD and the LMK is as follows. The KSD has the high load of the processor, the slow memory recovery rate, the high memory recovery efficiency, and the relatively fast responsiveness when the process is re-executed after the memory recovery. On the other hand, the LMK has the low load of the processor, the fast memory recovery rate, the low memory recovery efficiency, and the relatively slow responsiveness when the process is re-executed after the memory recovery.

Therefore, when the load of the processor is high during the memory recovery operation, the KSD may cause an overload of the processor, so the LMK capable of quickly recovering the memory is more advantageous than the KSD. On the other hand, if the processor can stand the load even if the KSD is executed during the memory recovery operation, the KSD may be more advantageous than the LMK having the low memory recovery efficiency.

When two memory recovery methods of the KSD and the LMK are applied to the display apparatus according to the embodiment of the present disclosure, the display apparatus operates as follows.

<FIG> is a flowchart of a method of selectively executing, by a display apparatus, KSD and LMK according to an embodiment of the present disclosure.

As illustrated in <FIG>, the following operation is performed by the kernel installed in the display apparatus or the processor that drives the corresponding kernel.

In step <NUM>, the display apparatus detects that an event is occurred in which the available capacity of the RAM is lower than the first threshold.

In step <NUM>, the display apparatus checks the current load level of the processor.

In step <NUM>, the display apparatus checks whether the checked current load level of the processor is greater than the second threshold.

If the current load level of the processor is greater than the second threshold, in step <NUM>, the display apparatus executes the LMK to perform the memory recovery.

On the other hand, if the current load level of the processor is not greater than the second threshold, in step <NUM>, the display apparatus executes the KSD to perform the memory recovery.

The present embodiment describes the case in which two types of the LMK and the KSD are applied, but the idea of the present disclosure can be performed according to the same principle as in the present embodiment even when three or more types among various memory recovery operations are applied.

However, in some cases, the available capacity of the RAM is not sufficiently secured even by the memory recovery method described above, and the available capacity of the RAM may be lower than in the event described above. In this case, the display apparatus secures the available capacity of the RAM as quickly as possible by executing the KSD and the LMK together. Hereinafter, these embodiments will be described.

<FIG> is a graph illustrating a change trend in available capacity of a RAM over time in the display apparatus according to the embodiment of the present disclosure.

As illustrated in <FIG>, the available capacity of the RAM changes over time. In this graph, a horizontal axis represents time and a vertical axis represents the available capacity of the RAM. In the case of a unit, a time unit may be a clock and the available capacity unit of the RAM may be a byte, but each unit is applied for convenience and various other units may be applied.

Two thresholds such as a first threshold h1 and a second threshold h2 greater than the first threshold are set in advance in the display apparatus. The first threshold h1 and the second threshold h2 may be determined through various experiments in the manufacturing process. These two thresholds are used as triggers for the memory recovery operation.

If it is determined that the available capacity of the RAM decreases to the second threshold h2 or lower at a first time t1, the display apparatus selectively executes either the KSD or the LMK in response to the current operating load of the display apparatus (<NUM>). This operation is based on the same principle as in the previous embodiment, and therefore detailed description thereof is omitted. If the available capacity of the RAM again increases to be greater than the second threshold h2 by the execution of either the KSD or the LMK, the display apparatus ends the memory recovery operation.

However, depending on the state of the display apparatus, the available capacity of the RAM may decrease to be the first threshold h1 or lower at a second time t2 despite the execution of either the KSD or the LMK (<NUM>). If determined from such a situation, the display apparatus performs the memory recovery operation by executing the KSD and the LMK together. Thereafter, when the available capacity of the RAM becomes a value between the first threshold h1 and the second threshold h2, the display apparatus selectively executes either the KSD or the LMK in response to the current operating load of the display apparatus, and when the available capacity of RAM again increases to be greater than the second threshold h2, the display apparatus ends the memory recovery operation.

The method of executing KSD and LMK together makes it possible to secure the available capacity of the RAM more quickly and more, instead of increasing the operating load of the display apparatus. For example, while distinguishing the main data and the additional data according to the KSD for the process having relatively high importance, the display apparatus first performs the memory recovery quickly according to the LMK for the process having relatively low importance, and then performs the memory recovery for the distinguished additional data.

According to this method, the display apparatus may cope with a situation in which the available capacity of the RAM decreases despite the memory recovery operation.

On the other hand, the previous embodiment has described the case of selectively using two memory recovery operations in response to the load of the processor Hereinafter, these embodiments will be described.

<FIG> is an exemplary diagram illustrating a principle of selecting a memory recovery operation corresponding to a usage rate of the processor of the display apparatus according to the embodiment of the present disclosure.

As illustrated in <FIG>, the usage rate of the processor may be represented in a range between <NUM>% and <NUM>%. In the usage rate of the processor, preset p% and r% greater than p% are set in advance in the display apparatus. The values of these p and r are positive numbers and may be determined through experiments in the manufacturing process of the display apparatus. By this setting, the usage rate of the processor may be divided into a first range between <NUM>% and p%, a second range between p% and r%, and a third range between r% and <NUM>%.

On the other hand, the plurality of memory recovery operations include the following three different types: a first memory recovery operation, a second memory recovery operation having a memory recovery rate faster than that of the first memory recovery operation, and a third memory recovery operation having a memory recovery rate faster than that of the second memory recovery operation. That is, among the three memory recovery operations, the first memory recovery operation has the highest load and memory recovery efficiency of the processor. In the second memory recovery operation, three degrees of the load of the processor, the memory recovery rate, and the memory recovery efficiency represent values between the first memory recovery operation and the third memory recovery operation.

The display apparatus executes the first memory recovery operation when the current load level of the processor is in the first range, and executes the second memory recovery operation when the current load level of the processor is in the second range, and executes the third memory recovery operation when the current load level of the processor is in the third range.

That is, the display apparatus executes the first memory recovery operation having the slowest memory recovery rate among the plurality of memory recovery operations when the current load level of the processor is relatively low, executes the second memory recovery operation having a medium memory recovery rate when the current load level of the processor is medium, and executes the third memory recovery operation having the fastest memory recovery rate when the current load level of the processor is relatively high.

Accordingly, the display apparatus may selectively execute three or more memory recovery operations in response to the current load of the processor.

The operations of the apparatus as described in the above embodiments may be performed by artificial intelligence mounted in the apparatus. The artificial intelligence can be applied to various systems using machine learning algorithms. The artificial intelligence system is a computer system that implements intelligence corresponding to a human level or comparable to a human level, and is a system in which a machine, an apparatus, or a system autonomously performs learning and determination, and the recognition rate and determination accuracy are improved based on accumulation of use experience. The artificial intelligence technology includes machine learning (deep learning) technologies that use algorithms to classify/learn characteristics of input data, element technologies that simulate functions of recognition, determination, and the like of a human brain using machine learning algorithms, and the like.

Examples of the element technologies include at least one of linguistic understanding technology for recognizing human language/character, visual understanding technology for recognizing objects like human vision, reasoning/prediction technology for logically reasoning and predicting information by determining the information, knowledge expression technology processing human experience information with knowledge data, or motion control technology controlling autonomous driving of vehicles and movement of robots.

The linguistic understanding is a technology of recognizing and applying/processing human languages/characters, and includes natural language processing, machine translation, a dialog system, question and answer, speech recognition/synthesis, and the like.

The inference/prediction is a technology of deciding and logically inferring and predicting information, and includes knowledge/probability-based inference, optimization prediction, preference-based planning, recommendation, and the like.

The knowledge representation is a technology of automating and processing human experience information as knowledge data, and includes knowledge establishment (data generation/ classification), knowledge management (data utilization), and the like.

Claim 1:
An electronic apparatus, comprising:
a memory (<NUM>); and
a processor (<NUM>) configured to:
execute a process using data loaded into the memory (<NUM>),
characterized in that,
identify (<NUM>) a current usage rate of the processor (<NUM>),
execute (<NUM>) a first memory recovery operation having a memory recovery rate faster than that of a second memory recovery operation when the identified current usage rate is greater than a usage rate threshold, and
execute (<NUM>) the second memory recovery operation when the identified current usage rate is not greater than the usage rate threshold.