Dynamic Memory Threshold Adjustment for Process Termination
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing memory management systems in electronic devices struggle to optimize memory recovery and device performance, as they rely on fixed memory thresholds that do not consider performance information, leading to inefficient memory reallocation and potential device slowdowns.
Innovation Solution
A memory management method and device that dynamically set a memory threshold by considering both available memory amount and performance information, such as CPU usage overhead and application response speed, to determine when to terminate processes and perform memory reallocation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If memory return operation is performed through memory reallocation when available memory is above fixed threshold, then memory recovery is improved, but device overhead and performance deterioration occur
Solution Approach 1:
The patent dynamically adjusts the memory threshold based on device performance information rather than using a fixed threshold. The threshold is modified in real-time according to measured performance metrics, allowing the system to adapt memory management strategy to current device state, thereby avoiding performance deterioration while maintaining effective memory recovery
Solution Approach 2:
The patent changes the parameter of memory threshold from a fixed value to a dynamic value that varies based on performance information. By monitoring performance metrics and adjusting the threshold parameter accordingly, the system optimizes the balance between memory recovery and device performance, preventing unnecessary memory reallocation operations that would cause overhead
2Device complexity
If fixed memory threshold is used for process termination, then simplicity is improved, but adaptability to user usage patterns deteriorates
Solution Approach 1:
The patent implements a feedback mechanism where device performance information is continuously monitored and used to adjust the memory threshold. This closed-loop control allows the system to adapt to user usage patterns and device state changes while maintaining relatively simple implementation through standardized feedback processing
Solution Approach 2:
The system performs self-adjustment of the memory threshold based on its own performance measurements without requiring external intervention. The device monitors its own performance metrics and autonomously modifies memory management parameters, enabling adaptability to usage patterns while keeping the system simple and self-contained
Data Source
AI summary
Various embodiments of the present disclosure relate to a memory management method and apparatus which perform a memory return operation by dynamically setting a memory threshold value by additionally considering performance information of an electronic apparatus in addition to an amount of available memory. An electronic apparatus comprises: a memory that stores at least one instruction corresponding to at least one program; and at least one processor, comprising processing circuitry, electrically connected to the memory, wherein at least one processor, individually and/or collectively, is configured to execute the at least one instruction as a process, and to: acquire performance information of the electronic apparatus and an amount of available memory; determine a memory threshold value based on the performance information and the amount of available memory; update a memory threshold value to the determined memory threshold value; and based on the amount of available memory being less than the memory threshold value at a certain point in time, terminate a certain process.


