Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

205 results about "Memory reclamation" patented technology

Memory recovery method and device, electronic equipment and storage medium

The embodiment of the invention provides a memory recovery method and device, electronic equipment and a storage medium, and relates to the technical field of data storage. Under the condition that both the file system and the storage device support the perceptual garbage collection function, the device state of the storage device is obtained in response to the starting of the perceptual garbage collection function; according to the equipment state, determining whether an execution condition for sensing a garbage collection function is met or not; and if the execution condition of the garbage collection sensing function is met, the file system is linked to perform memory collection on the storage device, so that the file system can know the data blocks moved by the storage device, the file system is prevented from moving the data blocks moved by the storage device again, and the efficiency of the file system is improved. In addition, invalid blocks in the file system and the storage device can be synchronized, the situation that invalid data blocks in the file system are moved when the storage device executes memory recovery is avoided, and therefore the service life expenditure of the storage device and the write-in amplification value of the storage device are reduced.
Owner:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD

Linux system memory recovery control method and system based on eBPF

The invention discloses an eBPF-based Linux system memory recovery control method and system. The method comprises the following steps: acquiring recovery control parameters for realizing different control by combining different inputs by a user through a BPF user mode program, and transmitting the recovery control parameters to a BPF kernel mode program; the recovery control parameters are analyzed through a BPF kernel mode program, and a kernel memory recovery program is triggered; memory recovery control is executed through the triggered kernel memory recovery program according to the recovery control parameters. The invention aims to realize the memory recovery control of the Linux operating system by utilizing the powerful interaction capability of the eBPF and the kernel, so as to avoid the difference between different versions of a control group, provide a universal memory control framework and visual and easy-to-understand control parameters to carry out recovery control, and support the recovery control according to the memory use characteristics of the application. File pages and anonymous pages are subjected to independent recovery control, and a scanning strategy of memory recovery is controlled according to memory cold and hot characteristics of an application.
Owner:KYLIN CORP

Memory recovery method and device, equipment and medium

The embodiment of the invention provides a memory recovery method and device, equipment and a medium, the method is executed by computer equipment deployed with a container, and the container comprises a quality service agent component and a memory recovery agent component. The method comprises the following steps: determining a to-be-recycled memory node in a memory control group managed by a container through a quality service agent component, and transmitting the to-be-recycled memory node to a memory recycling agent component; obtaining a memory usage amount and a memory recovery index corresponding to the to-be-recovered memory node through the memory recovery agent component, and determining a memory recovery amount corresponding to the to-be-recovered memory node according to the memory usage amount and the memory recovery index; and calling a memory recovery interface through the memory recovery agent component, and recovering the physical memory in the memory node to be recovered based on the memory recovery amount. By implementing the embodiment of the invention, the memory resource utilization rate can be improved.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

High-performance switch shared cache control system

The invention provides a shared cache control system for a high-performance switch. The shared cache control system comprises a plurality of port modules, a plurality of memory allocation modules, a plurality of memory recovery modules, a dynamic channel allocation module and an SRAM (Static Random Access Memory) array, the dynamic channel distribution module is used for cross communication among the port module, the memory distribution module, the memory recovery module and the SRAM array; the port module is used for receiving and transmitting data packets, scheduling other modules to work and performing read-write operation on addresses in the SRAM array; the memory allocation module is used for allocating a memory space address for the data packet and recording an idle state or an occupied state of an SRAM address space by adopting a vector mapping mechanism; and the recovery module is used for requesting the destination port to read the data packet and recovering the memory address space corresponding to the read data packet. The method has the beneficial effect that the switching rate of the shared cache type switch is improved.
Owner:SHENZHEN UNIV

Memory recovery method and electronic equipment

The invention provides a memory recovery method and electronic equipment, and relates to the technical field of computers. According to the scheme, the memory recovery efficiency of the electronic equipment starting a memory control subsystem mechanism is improved. According to the specific scheme, first memory capacity corresponding to a first application running in the background is determined, the first memory capacity indicates memory capacity needing to be recycled from a system memory occupied by the first application, and the first memory capacity is reduced along with increase of application heat of the first application; the application popularity indicates the active degree of the application program running in the background; and recovering the system memory occupied by the first application according to the first memory amount.
Owner:HONOR DEVICE CO LTD

Memory management method and device, equipment, storage medium, program product and chip

The invention provides a memory management method and device, equipment, a storage medium, a program product and a chip. The method relates to the technical field of mobile terminals. Comprising the steps of starting an asynchronous compression process under the condition that a current idle memory is lower than a waterline value; and traversing the plurality of memory control groups, and allocating a thread to each memory control group through an asynchronous compression process so as to compress the anonymous page in each memory control group. According to the method provided by the invention, the compression efficiency is improved by asynchronizing the anonymous page compression part in the memory recovery process, creating the thread pool and performing parallel compression according to the memcg memory control group, and meanwhile, the asynchronous memory compression process does not influence the main recovery process.
Owner:BEIJING X RING TECHNOLOGY CO LTD

Linux system memory recovery control method and system based on eBPF

The present invention discloses a memory recycling control method and system for a Linux system based on eBPF. The method of the present invention comprises obtaining recycling control parameters for realizing different controls by combining different inputs by a user through a BPF user state program and passing the parameters to a BPF kernel state program; parsing the recycling control parameters and triggering a kernel memory recycling program through a BPF kernel state program; and executing memory recycling control according to the recycling control parameters through the triggered kernel memory recycling program. The present invention aims to realize memory recycling control of a Linux operating system by utilizing the powerful interaction capability of eBPF and a kernel, so as to avoid differences between different versions of a control group, provide a general memory control framework and intuitive and easy-to-understand control parameters for recycling control, support independent recycling control of file pages and anonymous pages according to the memory usage characteristics of an application, and support control of a scanning strategy for memory recycling according to the memory hot and cold characteristics of an application.
Owner:KYLIN CORP

Application process monitoring method and device, medium and computer program product

The invention discloses an application process monitoring method and device, a medium and a computer program product, and relates to the technical field of computers. Determining a weight score of the application process according to the business logic weight of the application process and the priority weight of the application process, determining a memory depletion score of the application process according to the process memory occupation parameter of the application process and the weight score of the application process so as to determine a target process, and executing a memory recovery operation on the target process, the process selection mode of the memory depletion terminator mechanism is optimized to meet the business logic requirement, so that the situation that the key process of the business application is shut down when the system memory is recovered is reduced, the normal operation of the system is guaranteed, and the user experience is improved.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Memory optimization method and device, electronic equipment and storage medium

The embodiment of the invention provides a memory optimization method and device, electronic equipment and a storage medium. After a target program runs, memory running information is obtained; according to the memory operation information, a memory load level is obtained, and the memory load level represents the memory load level of the memory demand of the target program; according to the memory load level, a target optimization strategy is executed, the target optimization strategy comprises at least two conditional execution sub-optimization strategies, the sub-optimization strategies are used for releasing cache data of the corresponding type in the memory, and execution conditions of the sub-optimization strategies correspond to the memory load level. By judging the memory load level for the memory demand of the target program and executing the target optimization strategy based on the memory load level, dynamic type memory recovery based on the memory load level is realized, the problems of slow program loading speed, program lagging and the like caused by excessive memory recovery and untimely memory recovery are avoided, and the memory recovery efficiency is improved. And the use experience of the application program is improved.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Memory control method and device, electronic equipment and readable storage medium

The invention discloses a memory control method and device, electronic equipment and a readable storage medium, and belongs to the technical field of electronics. The memory control method can comprise the steps of obtaining a process group associated with a first process under the condition of determining that the first process releases a first memory; if the first process is associated with at least two process groups, the first memory is recycled to the first buffer area and / or the second buffer area, and the at least two process groups comprise the process group where the first process is located and the process group where the process associated with the first process is located; the first buffer area is a private buffer area corresponding to a process group where the first process is located, and the second buffer area is a public buffer area corresponding to at least two process groups associated with the first process.
Owner:VIVO MOBILE COMM CO LTD

Memory reclaiming method and apparatus, electronic device, storage medium, and program product

The present disclosure relates to the technical field of cloud computing, and provides a memory reclaiming method and apparatus, an electronic device, a storage medium, and a program product. According to embodiments of the present disclosure, a global water level line threshold, a memory water level line threshold of an offline service, and a memory water level line threshold of an online service are set, a memory water level line is separately compared with the global water level line threshold, the memory water level line threshold of the offline service, and the memory water level line threshold of the online service, a memory reclaiming strategy is determined, and idle memory reclaiming is carried out, so that out of memory can be avoided to a certain extent, and stable operation of a system is ensured. Moreover, the method is applied to a kernel mode, does not depend on user state monitoring, and does not cause out of memory due to statistical lag.
Owner:CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD

Memory management method and device, electronic equipment and storage medium

The invention discloses a memory management method and device, electronic equipment and a storage medium, and relates to the technical field of memory management. The method comprises the steps that under the condition that memory management is carried out on the electronic equipment through a target memory exchange strategy, a to-be-evaluated index used for reflecting the performance of the target memory exchange strategy is determined, the to-be-evaluated index comprises one or a combination of more of the memory recovery ratio, the memory recovery error rate and the memory recovery efficiency, and the to-be-evaluated index is used for reflecting the performance of the target memory exchange strategy; and calculating an evaluation value corresponding to the to-be-evaluated index, and processing the target memory exchange strategy based on the evaluation value. According to the method, the performance of the memory exchange strategy is evaluated through the memory recovery ratio, the memory recovery error rate and / or the memory recovery efficiency, so that the evaluation result is more comprehensive and accurate.
Owner:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD

Memory leak detection method and device based on Vue framework and medium

The invention discloses a memory leak detection method and device based on a Vue framework and a medium, belongs to the technical field of memory leak detection, and is used for solving the technical problems that an existing memory leak solution cannot accurately identify and position a source of memory leak, cannot provide an effective optimization strategy and is poor in stability and performance of a Vue.js application. The method comprises the following steps: regularly obtaining memory usage data of a Vue application, and carrying out memory usage monitoring on the Vue application based on the memory usage data; when the memory occupancy exceeds a first preset threshold value, performing memory recovery on the memory of the Vue application; performing memory leak detection on the Vue application through a memory analyzer; and when memory leak occurs, recovering the isolated object in the Vue application so as to automatically repair the memory.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

In-vehicle infotainment system process control method and device, electronic equipment and vehicle

According to the in-vehicle machine system process control method and device, the electronic equipment and the vehicle provided by the technical scheme of the invention, the current state of the in-vehicle machine system is detected, and when the in-vehicle machine system is in the working state, the memory occupancy rate of the in-vehicle machine system is monitored; obtaining a running application process in a running state, obtaining the activeness of the running application process by utilizing a preset rule, judging an interval level where the memory occupancy rate is located, and obtaining a target process processing strategy corresponding to the interval level where the memory occupancy rate is located, and searching, killing or compressing the running application processes with different activeness according to the target process processing strategy. According to the scheme, after the interval level where the memory occupancy rate of the vehicle-mounted infotainment system is located is determined, the corresponding target process processing strategy is combined with the activity degree of the running application process for searching and killing or compression, memory recovery is achieved, scenes or special conditions do not need to be limited, and the efficiency is improved. When the in-vehicle infotainment system is in the working state, the memory of the in-vehicle infotainment system can be recovered fundamentally, and the memory state improvement effect is improved.
Owner:BEIJING CO WHEELS TECH CO LTD

Model memory management method and device based on memory recovery and electronic equipment

The invention relates to the technical field of smart home, and discloses a model memory management method and device based on memory recovery and electronic device.The model memory management method comprises the steps that task monitoring is conducted on a target model on equipment, and a model comprehensive index is calculated according to a task monitoring result; under the condition that the model comprehensive index exceeds a preset threshold value, performing memory demand prediction on the equipment based on a memory demand prediction model to obtain a prediction result; according to the prediction result, determining to-be-rejected elements in a memory of the equipment; and removing the to-be-removed element from the memory of the equipment to realize memory recovery. According to the method, the memory recovery strategy can be dynamically adjusted and executed according to the real-time state of the model task obtained through task monitoring, the memory resources are reasonably allocated, and resource competition between tasks is avoided, so that the complex requirements of the target model for the memory in different stages are met, and the intelligent degree of model memory management is improved.
Owner:QINGDAO HAIER TECH +3

Memory recovery method and device, vehicle, electronic equipment and storage medium

The invention discloses a memory recovery method and device, a vehicle, electronic equipment and a storage medium, and the method comprises the steps: obtaining a remaining memory amount in response to a memory recovery signal, and judging whether the remaining memory amount is lower than a remaining memory upper limit or not; the residual memory capacity is a difference value between the system memory capacity and all process memory capacities; when the remaining memory amount is lower than the upper limit of the remaining memory, sequentially detecting whether the process memory amount of each process exceeds a respective corresponding memory available threshold value or not, and determining the process exceeding the memory available threshold value as a to-be-recycled process; and respectively carrying out memory recovery processing on all the processes to be recovered. According to the memory recovery method provided by the invention, after it is predicted that the remaining memory amount is lower than the upper limit of the remaining memory, the process memory amount of each process is detected in sequence, the to-be-recovered processes are determined, and all the to-be-recovered processes are subjected to memory recovery processing, so that the memory recovery efficiency is improved, and safe, stable and efficient operation of a system is ensured.
Owner:BEIJING CO WHEELS TECH CO LTD

Memory recovery method and device, electronic equipment and computer readable storage medium

The invention discloses a memory recovery method and device, electronic equipment and a computer readable storage medium, and can solve the problem that excessive recovery of a memory is difficult to avoid under the condition that a plurality of Android instances run on a server in related technologies. The method is applied to the server, a plurality of Android instances run on a kernel of the server, and the method comprises the steps that a memory pressure event reported by a kernel pressure stall information PSI module is received through a target Android instance, and the memory pressure event comprises a pressure level; reading a state value of the kernel state module, wherein the state value comprises a preset unavailable value or a pressure level sent by the PSI module in advance; and under the condition that the state value is the pressure level, according to the memory pressure event, performing memory recovery on the own process, and modifying the state value of the kernel state module to be a preset unavailable value. According to the technical scheme, the situation that the memory is excessively searched and killed due to the fact that multiple android examples running on the kernel excessively respond to the memory pressure event is avoided.
Owner:CHINA MOBILE COMM GRP TERMINAL +1

Memory management method for reducing fragmentization and operating system

The invention discloses a memory management method for reducing fragmentation and an operating system, and belongs to the technical field of computer storage. Memory management is performed through a memory pool, a logic space is created for mapping with the memory pool, a page table is utilized to record a mapping relation between memory pages of the memory pool and memory pages of the logic space, and a memory recovery table records memory information supporting automatic recovery and the total memory capacity in the memory recovery table according to an application sequence. Memory allocation, memory access, memory release and memory recovery are all carried out through a logic space. According to the invention, the rapid allocation of the memory is realized, and the fragmentation of the memory is reduced.
Owner:GUANGZHOU JINQILI INFORMATION TECH CO LTD

High-speed multi-port cache arbiter with variable word length

The invention discloses a high-speed multi-port cache arbiter with a variable word length. Along with the high-speed development of the modern network technology, storage management and scheduling take up most of time in the processing of data packets by network equipment, so that the low-speed caching capability of most memories becomes a bottleneck for limiting the further improvement of a network processor. Therefore, by managing the shared cache of not less than 32 blocks of 256Kbit SRAM units and supporting simultaneous cache writing of a plurality of ports through an arbitration mechanism, write scheduling and read scheduling can be realized without mutual influence, and concurrent read-write conflicts are avoided; meanwhile, each port supports eight priority queues, so that the data transmission bandwidth of each port can reach 1G bps; by processing a data packet, caching and data scheduling according to packets are supported, the length of the data packet is 64-1024 bytes variable, and the influence of the length of the data packet on memory resources can be avoided; and the purpose of storing resources can be achieved by dynamically adjusting space saving through memory recovery, and the data storage efficiency is improved.
Owner:NANJING UNIV

Memory recovery method and device, electronic equipment and storage medium

The embodiment of the invention relates to the technical field of memory recovery, and discloses a memory recovery method and device, electronic equipment and a storage medium, the method is applied to the electronic equipment, the method can comprise the steps that running information of the electronic equipment is acquired, and the running information comprises the load of a processor of the electronic equipment; and if it is determined that the processor of the electronic equipment is in the idle state according to the load of the processor, recovering the memory in the electronic equipment through a memory recovery thread. By implementing the method disclosed by the embodiment of the invention, memory recovery can be performed under the condition that the processor of the electronic equipment is idle, and the memory recovery efficiency of the electronic equipment is improved.
Owner:REALME MOBILE TELECOMM SHENZHEN CO LTD

Operating system-oriented memory recovery method, device and equipment and storage medium

The invention provides an operating system-oriented memory recovery method, device and equipment and a storage medium, and relates to the technical field of operating systems such as memory management and memory recovery. The method comprises the following steps: acquiring actual running parameters of a memory in a running process of a target Linux operating system; wherein the actual operation parameters at least comprise an actual available cache; determining a memory abnormal item according to the actual operation parameter and a preset parameter threshold value; and executing a recovery processing strategy matched with the memory exception item to obtain a memory recovery result. According to the method, various pressure indexes including actually available caches of a system memory are monitored, and a targeted recovery strategy is flexibly selected to recover the memory.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD +1

Memory recycling method and device

An embodiment of the present application provides a memory recovery method and device, the method comprising: when it is monitored that the electronic device needs to kill at least two target processes with an oom_adj value of 0, determining the current free memory and free cache of the electronic device; if any one of the free memory and the free cache is greater than or equal to a first preset threshold, and the free memory and the free cache are both less than a second preset threshold, then choosing to kill only the earliest started target process; wherein the first preset threshold is less than the second preset threshold, and the second preset threshold is the minimum free memory corresponding to the electronic device when the target process with an oom_adj value of 0 needs to be killed; thereby preventing the foreground process that is being started from being killed by mistake and avoiding the foreground process from crashing; when the free memory and the free cache are both less than the first preset threshold, killing all target processes, thereby fully releasing the memory and avoiding system restart.
Owner:BEIJING SPREADTRUM HI TECH COMM TECH CO LTD

A memory management method and related apparatus

PendingCN123114994AOut of memoryTerm memory
A memory management method is applied to an execution device that includes a dedicated memory pool and a general-purpose memory pool. By reusing the free memory in the dedicated memory pool to provide general-purpose memory, dedicated memory reuse can be achieved, improving memory utilization. Furthermore, during the use of the dedicated memory pool, its memory usage is continuously monitored. When insufficient free memory is detected in the dedicated memory pool, operations such as memory migration, memory reclamation, or memory cleanup are performed promptly to increase the free memory in the dedicated memory pool. This ensures that the dedicated memory pool can meet actual memory usage needs and minimizes the possibility of dedicated memory shortages due to memory pool reuse.
Owner:HUAWEI TECH CO LTD

Computer system for hybrid of epoch- and pointer-based memory reclamation, and method thereof

Various example embodiments provide a computer system for hybrid of epoch- and pointer-based memory reclamation, and a method thereof. Various example embodiments are configured to implement a pointer and epoch-based memory reclamation scheme by hybridizing a pointer-based memory reclamation scheme and an epoch-based memory reclamation scheme, and perform a memory reclamation of a concurrent data structure, based on the pointer and epoch-based memory reclamation scheme.
Owner:KOREA ADVANCED INST OF SCI & TECH

Memory recovery method and device, equipment and storage medium

The invention relates to a memory recovery method and device, equipment and a storage medium. The method comprises the steps that under the condition that it is monitored that an abnormal process exists in at least one process managed by each memory allocation node, the running state of each process is obtained, at least one process uses a shared memory segment, and under the condition that each process is in a stable running state, the running state of each process is obtained; and determining a to-be-recycled memory segment in the shared memory segment according to the change condition of the shared memory segment corresponding to the abnormal process, and recycling the to-be-recycled memory segment. By adopting the method, the timeliness of memory recovery can be improved.
Owner:DAWNING INFORMATION IND (BEIJING) CO LTD +2

Time series-based data processing method, device, equipment and storage medium

The application relates to the technical field of data processing, and discloses a time series-based data processing method, device, equipment and storage medium, the method comprises the following steps: determining a period length, when current data does not have periodicity, the period length is infinite, based on the data length of batch processing corresponding to a target time window, data processing delay and data generation interval, adjusting the memory size to realize time series-based data processing; when the current data has periodicity, based on the period length, adjusting the memory size to realize time series-based data processing. In the foregoing manner, the application adaptively identifies the period of the current data; the hash value of the current data is calculated; based on the hash value of the current data and the hash values of the previous n windows, the period length of the data is determined, and when the data does not have periodic characteristics, the period is infinite. Through pre-allocation of the memory required for data processing, the frequent creation of new data and the memory recovery of garbage data are reduced, and the performance and reliability of data processing in the Internet of Things are improved.
Owner:XIAMEN KAITONG TECH CO LTD

Memory recovery method, terminal, storage medium and program product

The embodiment of the present application provides a memory recovery method, terminal, storage medium and program product, which relates to the field of data processing technology. The above method includes: starting from the starting memory page of the first memory page linked list, determining one by one the first memory pages whose recovery cost representation value is less than or equal to the recovery cost limit value, wherein the memory pages included in the first memory page linked list are: memory pages eliminated from the memory pages recorded in the second memory page linked list, whose recovery cost representation value is less than or equal to the recovery cost limit value, and the recovery cost representation value: determined based on the number of VMAs with which a mapping relationship exists with the memory page; determining the first VMA with which a mapping relationship exists with each first memory page; releasing the mapping relationship between the first memory page and the first VMA stored in the mapping page table corresponding to the process of each first VMA, and deleting each first memory page from the first memory page linked list. Applying the memory recovery scheme provided by the embodiment of the present application can improve the efficiency of memory recovery.
Owner:HONOR DEVICE CO LTD

Memory recovery control method, electronic equipment and readable storage medium

The invention discloses a memory recovery control method, electronic equipment and a readable storage medium, and belongs to the technical field of terminals. The method is applied to the electronic equipment and comprises the steps that under the condition that the size of a memory occupied by a target application program reaches a first memory threshold value, a GC for the target application program is triggered; after the GC is triggered, determining an increment of compressed data in a target memory allocated for the target application program to obtain a first conversion reserve; under the condition that the first transfer capacity is larger than a first threshold value, a memory threshold value corresponding to the target application program is adjusted on the basis of the first transfer capacity, a second memory threshold value is obtained, GC operation of this time is skipped, and the second memory threshold value is a memory threshold value for triggering GC next time; and under the condition that the first conversion capacity is smaller than the first threshold value, GC operation is carried out. According to the method and the device, the GC operation is not necessarily executed after the GC is triggered, so that the execution frequency of the GC operation is reduced, and the situation that a large number of CPU resources are wasted is reduced.
Owner:HONOR DEVICE CO LTD

Memory recovery method and device, electronic equipment and readable storage medium

The invention discloses a memory recovery method and device, electronic equipment and a readable storage medium, and belongs to the field of memory management. The method comprises the steps that under the condition that a first process applies for a memory, the idle memory amount of the electronic equipment is acquired; the first process is a process of a preset category; under the condition that the free memory amount is smaller than or equal to a first threshold value, executing traversal operation on a virtual address space of a process through a kernel thread to obtain at least two types of memory pages; the access popularity of the at least two types of memory pages is different; and executing memory recovery operation according to the at least two types of memory pages through the first process.
Owner:VIVO MOBILE COMM CO LTD