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

58 results about "Memory reclamation" patented technology

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

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

PendingCN122653805AOut of memoryProcess engineering
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

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

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

Memory management method and device, electronic equipment and storage medium

ActiveCN115421909Breduce entryReduce the number of early entry memory regularizationTerm memoryCpu load
Embodiments of the present application disclose a memory management method, device, electronic equipment and storage medium. The memory management method comprises: first acquiring a current memory recovery parameter, the memory recovery parameter comprising a memory recovery pressure and a CPU load; and then if the memory recovery parameter meets a preset parameter threshold, performing memory compaction on system memory. Through the above method, by comparing the memory recovery pressure and the CPU load with the preset parameter threshold, and performing memory compaction after the memory recovery pressure and the CPU load both meet the preset parameter threshold, the number of times of entering memory compaction in advance can be reduced, the timing of entering memory compaction is optimized, the probability of a process entering a slow path is reduced, the performance of the system is improved, and the deterioration effect caused by too many times of memory compaction is avoided.
Owner:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD

Memory recovery method and memory recovery device

The invention provides a memory recovery method and a memory recovery device. The memory recovery method may include: based on a size of a memory recovery target, determining a plurality of most inactive folio from a least recently used (LRU) linked list, each of the plurality of folio being a single page or a composite page; distributing the plurality of folio to a plurality of linked lists, the plurality of linked lists including a large page linked list and a small page linked list; according to a recovery sequence, at least one folio in the multiple folio in the multiple linked lists is recovered until the memory recovery target is met, and the recovery sequence comprises the sequence that the large-page linked lists are recovered firstly and then the small-page linked lists are recovered.
Owner:SAMSUNG (CHINA) SEMICONDUCTOR CO LTD +1

Memory reclamation methods, apparatuses, computer-readable storage media, and electronic devices

This application provides a memory reclamation method, apparatus, computer-readable storage medium, and electronic device. The method includes: executing memory check logic when a target application is already running; determining whether the target application has any abnormal system memory usage based on its memory usage information; and, if the target application has abnormal system memory usage, reclaiming the memory occupied by the running pages of the target application sequentially based on their browsing time. In this approach, by proactively checking the target application's memory usage information to determine if there are any abnormal system memory usages, and by reclaiming memory according to the browsing time of the running pages, memory can be reclaimed gradually, thereby improving the efficiency of memory checks and enhancing the user experience.
Owner:中国邮政储蓄银行股份有限公司

Memory recovery method and device, electronic equipment and storage medium

PendingCN122363873AEvent triggerTerm memory
This application discloses a memory reclamation method, apparatus, electronic device, and storage medium. It relates to the field of memory technology. Applied to electronic devices, the method includes: receiving a target trigger event, where the target trigger event is an event that triggers an application to run in the background; and reclaiming the memory occupied by the application before the application enters the background running phase. In this application, after receiving the event triggering the application to return to background running, the electronic device begins to reclaim the memory occupied by the application before it enters the background running phase, promptly releasing the memory resources occupied by the application running in the background, ensuring timely memory reclamation, avoiding the problem of the electronic device only reclaiming memory when it detects insufficient memory, and improving the efficiency of memory management in electronic devices.
Owner:REALME MOBILE TELECOMM SHENZHEN CO LTD

Address allocation and memory recovery system

The invention discloses an address allocation and memory recovery system, solves the problem that the existing hardware cache management technology needs to consume relatively large storage resources, and belongs to the crossing field of integrated circuit design and data storage technology. Comprising a free space management module used for updating and recording addresses and lengths of all free spaces in the RAM in real time through a register array and an effective marker register; the memory recovery and space merging module is used for driving memory recovery, detecting adjacent free spaces in parallel, merging the adjacent free spaces and the recovery space and managing the address and the length of the corresponding free space by using the free space management module after the data is read out and the space in the RAM is released; and the maximum space matching module is used for carrying out parallel comparison on all free spaces and carrying out address dynamic allocation when a data writing request is received. The method is applied to a high-concurrency cache system.
Owner:HARBIN INST OF TECH

Database memory recovery method, electronic equipment and storage medium

The invention provides a database memory recovery method, electronic equipment and a storage medium, and is applied to the technical field of computers.The method comprises the steps that according to node identifiers included in at least one target transaction block in at least one transaction chain, respective to-be-recovered nodes used for recovering at least one to-be-recovered memory resource are determined, the to-be-recycled memory resource is determined according to a node identifier and a version identifier included in the target transaction block; and for any one to-be-recycled node in the at least one to-be-recycled node, recycling at least one to-be-recycled memory resource corresponding to the to-be-recycled node by using the to-be-recycled node under the condition that the number of the to-be-recycled memory resources of the to-be-recycled node is smaller than or equal to a preset number threshold value.
Owner:JIANGSU HUAKU DATA TECH CO LTD +1

Memory management method and system and electronic equipment

The embodiment of the invention discloses a memory management method and system and electronic equipment. Comprising the steps of obtaining memory information of a system in response to a detected kernel pressure stall event; wherein the kernel pressure stall event is a trigger event generated when it is monitored that the memory pressure exceeds a threshold value; according to the memory information and the memory blocking duration of the kernel pressure stall event, the memory recovery improvement efficiency of the system is determined, and the memory recovery improvement efficiency is related to the variable quantity of the memory blocking duration in the kernel pressure stall event in the adjacent statistical period; and based on the memory recovery improvement efficiency, determining a memory pressure level, so that the target component performs memory management based on the memory pressure level.
Owner:LENOVO (BEIJING) LTD

Memory recovery method and device, electronic equipment and storage medium

The application discloses a memory recycling method and device, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to the electronic equipment, and the method comprises the following steps: acquiring window data of a sliding window, wherein the window data comprises a memory allocation parameter of the electronic equipment in a first time period; determining a memory recycling parameter of the electronic equipment in a second time period based on the window data, wherein the first time period is earlier than the second time period; and recycling the memory of the electronic equipment based on the memory recycling parameter. The memory recycling method, device, electronic equipment and storage medium provided by the application can dynamically generate a sliding window mechanism by including historical data of a memory allocation parameter, predict a memory recycling parameter and recycle the memory, so that the read-write efficiency of the memory is improved.
Owner:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD

Hint-based memory management electronic devices and methods for generative artificial intelligence models

A method is provided. The method includes detecting one or more hint signals indicating a task to be performed using the one or more generative artificial intelligence (GenAI) models, validating the one or more detected hint signals by at least one condition related to a task execution status or authorization of a GenAI application associated with the one or more GenAI models, determining a memory demand and a priority level for the task based on the validated one or more detected hint signals, selecting one or more memory reclaimers based on the determined memory demand and the priority level, initiating a memory reclamation process using the selected one or more memory reclaimers, and allocating reclaimed memory associated with the memory reclamation process to the task based on receiving a request to execute the task.
Owner:SAMSUNG ELECTRONICS CO LTD

Memory recovery method and device

The invention discloses a memory recovery method and device which are used for reducing the influence of memory recovery on system performance. The method comprises the following steps: after a current monitoring period expires, determining a plurality of processes of which the utilization rate of a central processing unit (CPU) is lower than a first threshold value in a system; according to the CPU utilization rate of each process in the current monitoring period and the memory recovery value at the current moment, determining the recovery priority of each process; wherein the memory recovery value represents a to-be-recovered memory amount of the process at the current moment, the higher the memory recovery value is, the higher the recovery priority of the process is, and the lower the CPU utilization rate is, the higher the recovery priority of the process is; according to the sequence of the recovery priorities of the multiple processes from high to low, selecting a set number of processes from the multiple processes to perform memory recovery.
Owner:BEIJING XINWANG RUIJIE NETWORK TECH CO LTD

Method and apparatus for managing applications, computer program, and electronic device

The invention relates to the technical field of computer software, in particular to a method for managing applications, which comprises the following steps of: in response to a recovery request of a target page of the application, determining whether a memory recovery mark of the application is in a first state or not, the initial state of the content recovery mark being the first state; entering a startup page of the application in response to determining that the memory recovery mark of the application is in the first state; and in response to creation of a startup page of the application, setting the memory recovery flag to be in a second state. Whether the memory is recycled or not is monitored through the memory recycling mark of the application, and when it is monitored that the memory is recycled, the page is skipped to be started, so that application exception is avoided.
Owner:HANGZHOU ROBAM APPLIANCES CO LTD