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

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

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

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

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

A method, apparatus, device, and storage medium for garbage collection of memory.

This invention relates to the field of memory garbage collection technology, and discloses a method, apparatus, device, and storage medium for memory garbage collection. The method includes: acquiring the status of memory objects in different regions of memory; performing data processing operations based on the memory object status to obtain memory garbage assessment data; calculating weight coefficients based on the memory garbage assessment data to obtain memory garbage data weight coefficients; calculating memory garbage values ​​based on the memory garbage assessment data and the memory garbage data weight coefficients to obtain memory garbage values ​​for different regions; performing a sorting operation based on the memory garbage values ​​for different regions to obtain a memory garbage value sorting table; performing a screening operation based on the memory garbage value sorting table using a predetermined threshold to obtain a memory to be reclaimed sorting table; and performing a reclamation operation based on the memory to be reclaimed sorting table to obtain optimized memory. This method improves the accuracy of memory reclamation and optimizes the utilization of memory resources.
Owner:深圳市云希谷科技有限公司

A page rendering method, apparatus and device

The application provides a page rendering method, device and client. The page rendering method provided by the application comprises the following steps: after a global web view control is used to load a target page, a proxy web view control is created on the target page; when a memory recycling event for a target sub-web view on the target page is detected, target attribute information corresponding to the target sub-web view is obtained from attribute information of each sub-web view on a view tree corresponding to the target page which has been saved; and the target attribute information is loaded by using the proxy web view control to reconstruct the target sub-web view. The page rendering method, device and client provided by the application can avoid rendering abnormal problems caused by memory recycling.
Owner:BEIJING MOMO INFORMATION TECHNOLOGY CO LTD

Compiled language-oriented memory recovery method and system and computer readable storage medium

The embodiment of the invention discloses a compiling language-oriented memory recovery method and system and a computer readable storage medium. The method comprises the following steps: scanning a to-be-recycled memory object node, and determining a garbage recycling analysis batch and a node edge access frequency of the to-be-recycled memory object node according to a unified bitmap page manager; for the to-be-recycled memory object nodes in the current same garbage recycling analysis batch, accumulating the node edge access times, and judging the relationship between the accumulated node edge access times of each node in the batch and the intelligent pointer reference count; determining an object node to be subjected to memory recovery according to the relationship between the node edge access times and the intelligent pointer reference count; and performing memory release on the object node. According to the embodiment of the invention, on the premise that the memory layout of the business object is not changed, recoverable management of the life cycle of the business object is realized, and the problem of circular reference is solved.
Owner:LAYABOX NETWORK TECH (BEIJING) CO LTD

Inter-process communication method and system

The invention relates to the technical field of computer systems, in particular to an inter-process communication method and system.The inter-process communication system comprises a shared memory management module, the shared memory management module is in data connection with a sending process interface module and a receiving process interface module, and the sending process interface module is in signal connection with an event mailbox management module; according to the system and the method, through cooperation of the memory pool management unit, the idle slot detection unit and the memory recovery function, the effects of reasonable allocation and efficient reuse of memory resources can be achieved, memory waste and leakage are reduced, and the utilization rate of system resources is increased.
Owner:HEFEI HILLS NETWORK TECHNOLOGY CO LTD

Method and apparatus, device, and storage medium for memory pressure detection for virtual machine

Embodiments of the present disclosure provide a memory pressure detection method and apparatus for a virtual machine, a device, and a storage medium. A trigger instruction is sent to a virtualization monitoring unit by a memory monitoring process running in a host, where the virtualization monitoring unit corresponding one-to-one to a virtual machine to be monitored created by the host, and is configured to generate a corresponding interrupt signal in response to the trigger instruction. Memory statistical data of the virtual machine to be monitored is obtained by a kernel-mode driver of the virtual machine to be monitored in response to the interrupt signal output by the virtualization monitoring unit, the memory statistical data representing a statistical indicator for a memory reclamation process of the virtual machine to be monitored.
Owner:BEIJING VOLCANO ENGINE TECH CO LTD

Process management method, electronic equipment and computer readable storage medium

The invention provides a process management method, electronic equipment and a computer readable storage medium, and relates to the technical field of terminals. The method is applied to the electronic equipment comprising an application program and comprises the steps that in response to user operation of switching the application program from a foreground to a background, memory recovery is triggered at the first moment, and the memory recovery is to release memory occupied by the application program. Then, the electronic equipment responds to the user operation, process freezing is triggered at the second moment, and the process freezing is the process corresponding to the frozen application program; wherein the first moment is before the second moment. According to the embodiment of the invention, the electronic equipment can send the memory recovery instruction to the process in advance before the process corresponding to the application program is frozen, so that the situation that the memory recovery instruction is sent to the frozen process can be avoided, and the situation that the frozen process firstly executes the memory recovery instruction and then enters a starting process after being unfrozen is avoided. In this way, the hot start duration of the application program can be effectively shortened.
Owner:HONOR DEVICE CO LTD

Memory processing method and device, memory management system, electronic equipment and chip

The invention relates to a memory processing method and device, a memory management system, electronic equipment and a chip, and belongs to the technical field of memory management. The method comprises the following steps: in response to a memory processing request, performing memory allocation and memory recovery processing corresponding to the memory processing request by adopting a target memory; wherein the target memory is a memory allocated to target hardware of the electronic equipment by a processor of the electronic equipment; in response to the fact that the first number of idle memories in the target memories is smaller than a first set threshold value, requesting the processor to distribute the idle memories to the target hardware to increase the first number; and in response to the first number being greater than a second set threshold, releasing the idle memory to the processor to reduce the first number. Therefore, the processor can distribute the target memory to the target hardware, the target hardware can respond to the memory processing request, the target memory is adopted for memory distribution and recovery processing, the load of the processor can be remarkably reduced, and the memory processing efficiency is remarkably improved.
Owner:BEIJING X RING TECHNOLOGY CO LTD

Memory recovery method and device, server and storage medium

The application provides a memory recycling method and device, a server and a storage medium. The method comprises the following steps: a recycling node acquires an offset list of a first storage object. The recycling node calculates a deletion ratio of files in the first storage object according to the offset list. A first threshold is preset in the recycling node. When the recycling node determines that the deletion ratio is greater than or equal to the first threshold, the recycling node instructs a management node to create a second storage object. The storage nodes included in the second storage object are located in the same availability zone as the storage nodes in the first storage object. The recycling node determines valid files in the first storage object through the offset list or a file list. The recycling node writes the valid files in the first storage object into the second storage object in an append mode and releases the first storage object. The method improves the idle space recycling efficiency.
Owner:CHINA UNITED NETWORK COMM GRP CO LTD +2

A memory recycling method and device

The present application discloses a memory recycling method and device, belonging to the technical field of memory management. The memory recycling method includes: establishing a plurality of memory resource groups, each of the memory resource groups corresponding to at least one application program of an electronic device; when the used memory of the electronic device reaches a target memory threshold, recycling the memory of the memory resource groups through a target kernel thread, where the target kernel thread is a kernel thread for page recycling.
Owner:VIVO MOBILE COMM CO LTD

NVme memory recovery method and device, equipment and storage medium

The invention discloses an NVme memory recovery method, device and equipment and a storage medium, and relates to the technical field of resource management.The method comprises the steps that a target index pointer of an NVme memory recovery task is read, and a target mask corresponding to the target index pointer is generated; sequentially analyzing the target masks based on a preset mask analysis sequence so as to read recyclable index pointer segments from the target index pointer in a segmented manner, and storing pointer information of the recyclable index pointer segments into a pointer access queue based on the preset mask analysis sequence; based on the access sequence of the pointer access queue and the pointer information, sequentially reading the recyclable index pointer segments, and based on the memory pool numbers corresponding to the recyclable index pointer segments, determining a target index pool corresponding to the recyclable index pointer segments; and performing zero clearing operation on pointer data of the recyclable index pointer segment to obtain a to-be-recycled index pointer, and recycling the to-be-recycled index pointer to the target index pool. Therefore, the robustness, the universality and the bus utilization rate of the resource recovery system can be improved.
Owner:SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD

Memory management method, device, equipment and storage medium

PendingCN122309148AEngineeringTerm memory
This application provides a memory management method, apparatus, device, and storage medium. The memory management method includes: responding to a memory management request for a target application and determining the associated interface active components and interface image resources of the target application; obtaining the active component marker of the active interface components and the image resource marker of the interface image resources; when the program running information and system memory information of the target application meet the memory reclamation conditions, determining the target image resources to be reclaimed from the interface image resources based on the active component marker and the image resource marker; and performing memory swapping out processing on the target image resources using a target swapping-out interface to obtain a memory management result. This achieves accurate and timely reclamation of bitmap resources to be reclaimed, thereby alleviating terminal memory pressure and improving terminal operational stability.
Owner:SHENZHEN TCL DIGITAL TECH CO LTD