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

121 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

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 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

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 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

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 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 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

Memory recovery method, electronic equipment and storage medium

The embodiment of the invention provides a memory recovery method, electronic equipment and a storage medium. The method comprises the steps of determining a first memory threshold value and a second memory threshold value; determining a first operating system currently running in a foreground and a second operating system currently running in a background of the terminal equipment; allocating a first memory threshold value to the first operating system, so as to execute memory recovery on an application program in the first operating system according to the first memory threshold value; and allocating a second memory threshold value to the second operating system, so as to execute memory recovery on the application program in the second operating system according to the second memory threshold value. According to the scheme, different memory thresholds are allocated to the operating system running in the foreground and the operating system running in the background, so that when memory recovery is executed, the application programs in the operating system running in the background are preferentially closed, the influence of memory recovery on the application programs currently used by a user is reduced, and the user experience is improved. Therefore, the use efficiency of the user using the terminal equipment is improved.
Owner:CHENGDU TD TECH LTD

Method and apparatus for memory reclamation

The application provides a memory recycling method and device. The method is applied to a first device, the first device comprises a first process, the first process comprises a plurality of threads, each thread of the plurality of threads has an isolated memory for independent access, and the plurality of threads have a shared memory for common access. The method comprises: when a difference between first memory occupied by the first process and second memory allocated for the first process is less than or equal to a first preset value, or when free memory in the second memory is less than memory to be allocated (when the first preset condition is met), suspending the plurality of threads; and recycling memory according to recyclable memory in the isolated memory occupied by a first target thread in the plurality of threads. The technical solution can recycle the isolated memory of the threads included in the first process when the memory of the first process is insufficient, so as to reduce the number of OOM.
Owner:HUAWEI TECH CO LTD

Memory scheduling and application acceleration method facing end-side heavy load scene

The invention belongs to the technical field of memory scheduling. The invention discloses a memory scheduling and application acceleration method for an end-side heavy load scene. According to the embodiment of the invention, in a cold start process oriented to GB-level large-scale applications, in a multi-task scene of a mobile terminal, a vehicle-mounted terminal and the like, by uniformly scheduling a selective file preloading module, a self-adaptive memory recovery module and a context-aware process termination module, on the premise that application program codes are not modified, the application program codes can be quickly and efficiently started, and the application program codes can be quickly and efficiently started. The method comprises the following steps: modeling a file access mode and page type characteristics related to cold start, dynamically adjusting a preload object, a recovery strategy and a process termination sequence based on a preload memory budget and real-time memory pressure, preferentially retaining a key preload page, and selecting a background application with a relatively high net releasable memory and a relatively low short-term restart probability to terminate; and collaborative optimization of the cold start time delay and the background survivability under the constraint of the limited memory and the I / O bandwidth is realized.
Owner:NORTHWESTERN POLYTECHNICAL UNIV

Memory reclamation method and apparatus, electronic device, and storage medium

Embodiments of the present application relate to the technical field of memory reclamation. Disclosed are a memory reclamation method and apparatus, an electronic device, and a storage medium. The method is applied to the electronic device. The method comprises: acquiring operation information of an electronic device, the operation information comprising a load of a processor of the electronic device; and if it is determined, on the basis of the load of the processor, that the processor of the electronic device is in an idle state, reclaiming a memory in the electronic device by means of a memory reclamation thread. By implementing the method disclosed in the embodiments of the present application, memory reclamation can be performed when a processor of an electronic device is idle, thereby improving the memory reclamation efficiency of the electronic device.
Owner:REALME MOBILE TELECOMM SHENZHEN CO LTD

Memory recycling method, system and computer readable storage medium for a compiled language

The embodiment of the application discloses a memory recycling method and system for a compiled language and a computer readable storage medium. The method comprises the following steps: scanning a to-be-recycled memory object node, determining a garbage collection analysis batch and a node entry edge access frequency of the to-be-recycled memory object node according to a uniform bitmap page manager; accumulating the node entry edge access frequency of the to-be-recycled memory object nodes in the same garbage collection analysis batch, judging the relationship between the accumulated node entry edge access frequency and the smart pointer reference count of each node in the batch, and determining the object node to be recycled according to the relationship between the node entry edge access frequency and the smart pointer reference count; and releasing the memory of the object node. The embodiment of the application realizes the recyclable management of the life cycle of a business object without changing the memory layout of the business object, and solves the problem of circular reference.
Owner:LAYABOX NETWORK TECH (BEIJING) CO LTD

Memory page processing method, apparatus, and electronic device

Embodiments of the present application disclose a memory page processing method and device and electronic equipment. The method comprises: in response to a memory allocation request triggered by a memory using object, obtaining an identifier of a memory page applied for allocation by the memory allocation request; if the memory pool has the memory page with the identifier, obtaining the memory page with the corresponding identifier from the memory pool and allocating the memory page to the memory using object, wherein the memory pages in the memory pool are obtained from an operating system of the electronic equipment in advance; and if the memory pool does not have the memory page with the identifier, triggering the operating system to perform a memory recovery operation, and allocating the memory page recovered by the memory recovery operation to the memory using object. Thus, the memory page required by the memory using object can be directly obtained from the memory pool, and the memory page required by the memory using object can be more timely and efficiently obtained.
Owner:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD

Memory garbage recovery method and device, equipment and storage medium

The invention relates to the technical field of memory garbage collection, and discloses a memory garbage collection method, device and equipment and a storage medium, the method comprises the following steps: obtaining memory object conditions of different areas in a memory, performing data arrangement operation according to the memory object conditions to obtain memory garbage assessment data, and storing the memory garbage assessment data in the memory; the method comprises the steps of obtaining memory junk assessment data, performing weight coefficient calculation according to the memory junk assessment data to obtain a memory junk data weight coefficient, performing memory junk value calculation according to the memory junk assessment data and the memory junk data weight coefficient to obtain memory junk values of different areas, and performing sorting operation according to the memory junk values of the different areas. The method comprises the steps of obtaining a memory junk value sorting table, performing preset threshold value screening according to the memory junk value sorting table to obtain a to-be-recycled memory sorting table, and performing recycling operation according to the to-be-recycled memory sorting table to obtain an optimized memory. According to the method, the precision of memory recovery is improved, and the utilization of memory resources is optimized.
Owner:深圳市云希谷科技有限公司

Memory recovery method and device, electronic equipment, storage medium and program product

The invention discloses a memory recovery method and device, electronic equipment, a storage medium and a program product, and belongs to the technical field of storage. The method comprises the steps of establishing a first address mapping relation between a first physical address and a first logic address of a first virtual memory segment under the condition that a memory recovery request is detected, deleting a second address mapping relation between the second physical address and a second logic address of the second virtual memory segment and a third address mapping relation between the first physical address and a third logic address of the second virtual memory segment; the real memory segment corresponding to the second virtual memory segment comprises valid data and invalid data; the first physical address is a physical address of valid data, the second physical address is a physical address of invalid data, and the first virtual memory segment is an idle virtual memory segment; and executing memory recovery operation on invalid data in the real memory segment.
Owner:VIVO MOBILE COMM CO LTD

Transparent large page performance monitoring method and electronic device

The present application relates to a kind of transparent large page performance monitoring method and electronic equipment, belong to computer technology field, the method includes: in each sampling period, in kernel state, obtain memory alignment performance data by memory alignment start and end trace point, obtain direct memory recovery performance data by direct memory recovery start and end trace point, obtain large page split performance data by probe and carry out transparent large page split monitoring;In each sampling period, user state program collects and records page table cache miss performance data, records continuous free block performance data;The block size of free block is the integer multiple of the page size of transparent large page;After sampling period ends, user state program reads memory alignment performance data, direct memory recovery performance data and large page split performance data from mapping, and is associated with page table cache miss performance data and continuous free block performance data and is shown.This application realizes the accurate acquisition of transparent large page performance monitoring result.
Owner:BEIJING LINX SOFTWARE CORP