Android Memory Reclaim for Large-App Launch Stability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Electronic devices using the Android operating system face memory shortages due to applications requiring large memory capacity, leading to performance degradation, as existing memory management systems like LMKD are inadequate in quickly addressing these demands.
Innovation Solution
An electronic device and method that identify applications using large-capacity memory and terminate processes to free up memory, employing a modified LMKD operation to quickly manage memory availability by terminating processes as needed.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If memory securing operations (Kswapd, Direct Reclaim, LMK, LMKD) are performed to monitor memory status and prevent system performance degradation, then system stability is maintained, but the device cannot quickly escape from memory shortage situations when applications requiring large memory are executed
Solution Approach 1:
The patent applies preliminary action by proactively identifying applications that require large memory capacities before they cause memory shortages. The system pre-emptively terminates other processes to free up memory resources, preventing memory shortage situations rather than reacting to them after they occur. This is achieved through the processor identifying execution of such applications and immediately initiating memory recovery operations.
Solution Approach 2:
The patent implements dynamics by making the memory management system adaptive and responsive to changing conditions. The system dynamically adjusts its behavior based on real-time memory status and application requirements, switching between different memory recovery strategies. The processor continuously monitors memory usage and modifies process termination decisions based on current system state, making the memory management flexible rather than static.
2Adaptability or versatility
If multiple applications are simultaneously executed to provide various services, then functionality and user experience are enhanced, but memory shortage occurs leading to performance degradation
Solution Approach 1:
The patent applies parameter changes by dynamically adjusting memory allocation parameters based on application requirements and system state. When an application requiring large memory is identified, the system changes memory allocation parameters by terminating other processes, thereby reallocating memory resources. This allows the system to accommodate diverse applications while maintaining performance through adaptive parameter adjustment.
3Loss of energy
If traditional memory management operations are used, then memory resources are managed conservatively, but the device cannot quickly handle reductions in available memory when memory-intensive applications are launched
Solution Approach 1:
The patent applies preliminary action by proactively identifying applications that require large memory capacities before they cause memory shortages. The system pre-emptively terminates other processes to free up memory resources, preventing memory shortage situations rather than reacting to them after they occur. This is achieved through the processor identifying execution of such applications and immediately initiating memory recovery operations.
Solution Approach 2:
The patent applies skipping by bypassing traditional gradual memory recovery operations and directly implementing aggressive process termination when memory-intensive applications are detected. Instead of slowly reclaiming memory through standard operations, the system rushes through the memory recovery process by immediately terminating selected processes, thereby quickly securing sufficient memory capacity for the demanding application.
Data Source
AI summary
An electronic device is provided. The electronic device includes a memory and a processor. The processor may be configured to identify that an application using large-capacity memory satisfying a specified condition is running, identify a first memory capacity required to run the application, and terminate at least one process allocated to the memory until the first memory capacity is secured as the available capacity of the memory.


