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

127 results about "Memory leak" patented technology

In computer science, a memory leak is a type of resource leak that occurs when a computer program incorrectly manages memory allocations in such a way that memory which is no longer needed is not released. A memory leak may also happen when an object is stored in memory but cannot be accessed by the running code. A memory leak has symptoms similar to a number of other problems and generally can only be diagnosed by a programmer with access to the programs' source code.

Intelligent memory leak predicting and tracking method and system for micro-service architecture

The invention provides an intelligent memory leak prediction and tracking method and system for a micro-service architecture, and relates to the technical field of memory leak prediction, and the method comprises the steps: collecting the runtime data of a service node, constructing a service calling topological graph, extracting the time sequence and topological features, and carrying out the feature fusion. And constructing a deep learning prediction model by combining a bidirectional long-short term memory network with a multi-head attention mechanism and a graph attention network, and predicting a memory use trend and a risk score of a service node. Potential memory leak nodes are identified according to the risk score and the abnormal degree predicted value, a key propagation path is identified through a service calling topological graph and a minimum cut algorithm, and finally a root service of memory leak is positioned by using a belief propagation algorithm, so that accurate prediction and rapid positioning of the memory leak in the micro-service system are realized. And the system stability and reliability are improved.
Owner:SHENZHEN ZHONGKE SUPERCOMPUTING TECH CO LTD

Method for detecting linux kernel memory leak

The invention discloses a method for detecting linux kernel memory leak. The method comprises the following steps: acquiring a use index of a system kernel memory through a monitoring program; determining whether memory leak occurs or not according to the use index; and in response to determining that the memory leak occurs, starting an eBPF detection program to monitor memory allocation and release activities in the kernel, and analyzing the memory allocation and release activities to generate a memory leak report to locate the memory leak. According to the method, the system kernel memory is monitored by depending on the system information, the use index of the system kernel memory is acquired through the monitoring program, and whether memory leakage occurs or not is judged according to the use index, so that the use condition of the kernel memory can be monitored in real time with very small system overhead, and the system reliability is improved. And detecting whether the kernel memory leak occurs or not.
Owner:ZHONGLING ZHIXING (CHENGDU) TECH CO LTD

Page assembly type development method and device based on Vue.js and medium

The invention discloses a page assembly type development method and device based on Vue.js and a medium. The method comprises the steps that a page is split into a plurality of independent function components, and each component is packaged into a Vue single file component; defining a corresponding standardized configuration file, analyzing the standardized configuration file, and obtaining a declarative definition of the component; the standardized configuration file comprises a unique identifier, a component name, a component path and an initialization method of the Vue component; in response to the page routing request, calling a dynamic loading function to load a corresponding Vue component, and executing an initialization method of the Vue component; and establishing a mapping relationship between the routing path and the component instance, storing the operation parameters in a cache system, and rendering a page through a keep-alive component of the Vue in combination with the cache system. By means of the method, repeated coding work is reduced, the resource size is reduced, the memory leakage risk is avoided, and the page response speed is increased.
Owner:INSPUR ZHUOSHU BIG DATA IND DEV CO LTD

Memory allocation management method, device and equipment

The invention provides a memory allocation management method, device and equipment. The memory allocation management method provided by the invention comprises the following steps: carrying out secondary segmentation on a pre-applied memory region to obtain a plurality of memory block sets; wherein the number of the memory blocks in each memory block set in the plurality of memory block sets is different, the sizes of the memory blocks in each memory block set are the same, and the sizes of the memory blocks in different memory block sets are different; for each memory block set, connecting the memory blocks in the memory block set in series to form a linked list to obtain a linked list corresponding to the memory block set; wherein the linked list corresponding to the memory block set is used for managing the state and the distribution condition of the memory block set; and applying for the memory or releasing the memory according to the linked list corresponding to each memory block set so as to isolate the to-be-managed memory from the heap memory of the system and avoid the risk of memory leakage. According to the memory management method, device and equipment provided by the invention, the memory leakage risk can be avoided.
Owner:ZHUOXIN (TIANJIN) INFORMATION TECHNOLOGY CO LTD

Method and system for protecting source code privacy in memory error detection

The invention discloses a method and a system for protecting privacy of source codes in memory error detection, belongs to the technical field of computer software security, and particularly relates to a technology for protecting confidentiality of the source codes in a third-party memory error analysis process of software. According to the method, a debugging information minimization processing system DIREDUCER is constructed, a selective deletion and type minimization technology is utilized, on the premise that complete source codes are not exposed, necessary debugging information used for memory error detection is effectively reserved, and dual guarantee of source code privacy and memory error detection effects is achieved. According to the method, the debugging information in the non-stripping binary file is compressed to be within 10% of the original volume, and the recognition capability of an analysis tool on the problems such as memory leak, buffer overflow and overhanging pointers is not remarkably reduced. Experimental results show that the method has good adaptability and expandability in actual deployment, is suitable for various debugging tools and binary analysis frameworks, and has wide application prospects and practical values.
Owner:NANJING UNIV

Vehicle-mounted terminal memory leak processing method and device, equipment and medium

The invention discloses a vehicle-mounted terminal memory leak processing method, device and equipment and a medium, and relates to the technical field of vehicle tests.The method comprises the steps that in the running process of a vehicle-mounted terminal system, if it is detected that kernel mode memory leak exists in the vehicle-mounted terminal system, whether the memory leak rate and the memory leak amount meet preset leak conditions or not is judged; if the preset leakage condition is met, a kernel mode memory debugging node is opened, a vehicle-mounted terminal system is restarted, and then process information is grabbed through a probe embedded in a kernel mode memory application call stack; the abnormal application process is tracked according to the process information, the process information is printed in a page application log of a kernel mode, then a kernel mode memory debugging node is closed, and the vehicle-mounted terminal system is restarted. Visibly, the method and the device can avoid long-time opening of a kernel mode memory debugging node, do not need to be combined with a client for troubleshooting, do not need to iterate a compiled version for long-time retest, save a lot of time and manpower, and improve the debugging efficiency.
Owner:FIBOCOM AUTO SOFTWARE INC

Automatic AI memory leak intelligent positioning and root cause tracing analysis system

The invention discloses an automatic AI memory leak intelligent positioning and root cause traceability analysis system, and relates to the technical field of memory leak intelligent positioning and root cause traceability analysis. The automatic AI memory leak intelligent positioning and root cause traceability analysis method includes the following steps: S1, data acquisition: performing index acquisition through a multi-dimensional data acquisition unit, and supporting physical memory and virtual memory utilization rate, heap and stack memory allocation and log release, object creation, track destruction and thread execution state index acquisition; according to the automatic AI memory leak intelligent positioning and root cause tracing analysis system, the leak position is positioned, the root cause can be analyzed from dimensions such as code defects, improper configuration and resource competition, the leak recurrence rate is reduced, normal memory fluctuation and a real leak mode are effectively distinguished through sliding window time sequence analysis, exception screening and feature engineering optimization, and the reliability of the system is improved. False alarms are reduced, and the accuracy of abnormal event identification is improved.
Owner:EMDOOR ELECTRONICS SCINENCE & TECH CO LTD

Automatic browser memory leak location system, method, and medium based on MCP protocol

This invention discloses an automatic browser memory leak location system, method, and medium based on the MCP protocol, belonging to the field of software testing technology. The system includes an MCP communication module, an automated testing module, a heap snapshot acquisition module, an incremental analysis module, a reference chain analysis module, a SourceMap location module, an intelligent repair module, and an IDE visualization module. This invention establishes a standardized connection between the IDE and the browser debugging port through the MCP protocol, achieving fully automated control; it employs a multi-dimensional fingerprint algorithm based on constructed stack frames and attribute structures to solve the problem of cross-snapshot object matching; it utilizes the dominator tree algorithm to compress the reference chain and combines it with the SourceMap index to achieve source code-level location and AI repair suggestion generation. This invention significantly improves the efficiency and accuracy of memory leak location, solving the problems of fragmented debugging links and the inability to accurately map source code.
Owner:BEIJING FENYANG TECH CO LTD

Electric energy meter memory leakage protection method and system and medium

The embodiment of the invention provides an electric energy meter memory leakage protection method and system and a medium, and the method comprises the steps: starting an electric energy meter, recording a memory position and memory information, and carrying out the distribution and monitoring of a memory based on the memory position and the memory information; obtaining read-write operation information of the memory based on the memory allocation information and the monitoring information, and tracking the read-write operation information of the memory based on a code insertion technology; performing suspected memory leak marking based on the memory use state information, and judging whether the memory meets a recovery condition or not based on the suspected memory leak marking; if the recovery condition is met, judging the suspected memory leak mark as a leak memory, and automatically releasing the leak memory; if the recovery condition is not met, continuing to monitor the memory allocation information; according to the method, the memory leak problem is automatically monitored, early warned and processed in the program running process, the stability and reliability of the program and the memory use efficiency are greatly improved, and the adverse effects of system faults, performance reduction and the like caused by memory leak are reduced.
Owner:HANGZHOU SUNRISE TECH

Method and system for tracking memory usage

A method and system track memory allocation and release activities to detect memory leak, buffer overflow, and release type mismatch errors in a computing system. The memory tracker computes the necessary size of the allocated memory block and calls operating system provided functions to allocate and release raw memory blocks. Raw memory blocks are formatted into allocated memory blocks. An indexed data structure stores the allocated memory blocks. The user memory address is used as the index key value. The memory blocks are removed from the indexed data structure when the programs release the memory. The memory blocks remaining in the indexed data structure are considered memory leaks when the memory tracker terminates. The memory tracker adds bytes to the end of memory blocks for the integrity check and detects possible buffer overflow errors. Memory allocation type is added in the allocated memory blocks for release type mismatch errors.
Owner:LIPINGDATA CORP

Acoustic vibration detection method for server memory leakage and program product

The invention discloses a sound wave vibration detection method for server memory leakage and a program product, and relates to the technical field of memory leakage detection, and the method comprises the steps: collecting at least one sound wave vibration signal generated in the operation process of a target server, and constructing a frequency domain energy density distribution matrix, so as to calculate a frequency spectrum change rate characteristic value of the target server; obtaining current memory state information of the target server to construct a memory state vector of the target server; and splicing the frequency spectrum change rate characteristic value and the memory state vector to generate a multi-modal fusion characteristic vector, and inputting the multi-modal fusion characteristic vector into a pre-trained neural network model to output a probability value of a memory leak event existing in the target server and a corresponding position, thereby solving the problems that a traditional memory leak detection method is difficult to accurately position a leak source, and the detection accuracy is high. The technical problem that the workload of the operation and maintenance personnel is increased due to the fact that the memory leak event of the server can be comprehensively identified, and the position of the memory leak event can be accurately positioned can be solved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

A data processing method, device, terminal and storage medium

The present invention discloses a data processing method, device, terminal and storage medium, the method comprising: obtaining request data, querying a target message container according to the request data; when the query is successful, obtaining a target message corresponding to the request data from the target message container; obtaining a data category corresponding to the request data, and processing the target message according to the data category. When subscribing to messages and sending messages, the present invention only needs to generate corresponding request data, query the target message container according to the request data, and directly use the target message container to obtain the message for subscription or sending, without registering and unregistering in EventBus. Therefore, it can effectively solve the problem that the existing message distribution scheme based on EventBus must go through cumbersome registration and unregistration steps, thus causing the risk of memory leakage in the project.
Owner:KONKA GROUP

Data processing method and device, storage medium, equipment and program product

The invention discloses a data processing method, a data processing device, a computer readable storage medium, electronic equipment and a computer program product, and the method comprises the steps: obtaining memory usage data and event response data of a target application, and determining the correlation degree of an interaction event and memory leak according to the memory usage data and the event response data, and positioning an interaction event causing the memory leak. Thus, a developer can check the function point corresponding to the interaction event based on the positioned interaction event so as to check whether the function point can cause memory leakage, and compared with a mode that the developer checks all the function points one by one, assistance can be provided for the check work of the developer, so that the check efficiency is improved.
Owner:HANGZHOU NETEASE CLOUD MUSIC TECH CO LTD

Data distribution method and device and vehicle

The invention discloses a data distribution method and device and a vehicle, and relates to the technical field of vehicle-mounted electronic system data communication, and the method comprises the steps: carrying out the statistics of application pages subscribing to CAN data, determining a data subscription dynamic list, and enabling the data subscription dynamic list to comprise a corresponding relation between a CAN message ID and the CAN data; monitoring the page state of the application page in real time, and determining a first CAN message ID required by the application page; determining first CAN data corresponding to the first CAN message ID in a data subscription dynamic list according to the corresponding relation; and distributing the first CAN data to the application page through the weak reference holding the application page, thereby avoiding resource waste and memory leakage, and improving the vehicle-mounted information machine fluency.
Owner:CHINA FAW CO LTD +1

Webpage view control method and device, electronic equipment and storage medium

The invention provides a webpage view control method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: in response to an exit instruction of a webpage view, removing a sub-view in a root view to which the webpage view belongs; obtaining an access permission of a target private field in a class corresponding to the webpage view through a reflection mechanism; under the condition that the access permission is obtained, modifying a parameter value of the target private field into a preset value so as to release a reference relationship of the webpage view; and controlling the webpage view to exit. According to the method, the problem of memory leakage after the webpage view is closed can be solved.
Owner:GREAT WALL MOTOR CO LTD

Method, device, storage medium and electronic device for locating memory leak

The embodiments of the present application disclose a method, device, storage medium, and electronic device for locating memory leaks, which relate to the field of storage control. When it is detected that a memory leak occurs in an embedded device, the present application determines the type of the memory leak, and then traverses the memory information of each memory block in the memory to locate the target memory block according to the memory size and memory application function in the memory information, so that the user can exclude code faults from the memory data in the target memory block. Compared with manually checking and locating memory spaces one by one, the efficiency and speed of locating memory blocks can be improved, so as to quickly diagnose code faults.
Owner:ZHUHAI HUGE IC CO LTD

A Linux-based dynamic USB device optimization method

The application discloses a Linux-based dynamic USB device optimization method, aiming to solve the dimming failure and recognition problem of USB devices during use. Through the hot plug callback mechanism of libusb, the method monitors the insertion and removal events of USB devices in real time, ensuring efficient management of the devices. First, the system records USB device information during initialization and registers the callback function of the hot plug event. When the device is inserted, the program attempts to open the device and declare the interface. If a dimming failure is found, the device is automatically reset to restore normal function. When the device is removed, resources are released to prevent memory leakage. The method is suitable for various USB devices, especially display devices, significantly improving the efficiency of device management and user experience. Through the application, users can more conveniently manage USB devices while ensuring the stability and reliability of display dimming functions.
Owner:JIANGSU AUTOMATION RESEARCH INSTITUTE

Memory leak processing method and device, vehicle, electronic equipment and storage medium

The invention discloses a memory leak processing method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining vehicle state information under the condition that the memory occupation amount exceeds a preset early warning threshold value when the memory leak of a vehicle machine system is determined; the vehicle state information comprises an interaction state of the vehicle machine system and a vehicle driving state; judging whether the interaction state of the vehicle machine system meets a first preset restart condition or not and whether the vehicle driving state meets a second preset restart condition or not; if it is determined that the interaction state of the vehicle machine system does not meet the first preset restart condition and / or the vehicle driving state does not meet the second preset restart condition, the vehicle machine system is controlled not to execute the restart instruction; if it is determined that the interaction state of the in-vehicle entertainment system meets the first preset restart condition and the vehicle driving state meets the second preset restart condition, the in-vehicle entertainment system is controlled to execute a restart instruction. Restarting or black screen triggering in a vehicle driving scene or a vehicle machine system man-machine interaction scene is avoided, the safety of vehicle driving is improved, and the vehicle using experience of a user is improved.
Owner:BEIJING CO WHEELS TECH CO LTD

Memory management method and device, storage medium and computer equipment

The invention provides a memory management method and device, a storage medium and computer equipment, and aims to realize object granularity memory allocation and release by maintaining fine-grained and shareable access memory management metadata on a separated memory and allowing an application client to directly and concurrently access the metadata. The problem of memory occupation expansion in the existing memory management technology is solved. Moreover, the leakability and accessibility of the distributed object are actively maintained in the memory management process, so that the overhead of traversing an object graph like a garbage collection mechanism is prevented from being introduced in the memory leak recovery process.
Owner:TSINGHUA UNIVERSITY

Application monitoring method and device, equipment, storage medium and program product

The embodiment of the invention provides an application monitoring method and device, equipment, a storage medium and a program product, and relates to the field of big data. The method comprises the following steps: in response to a captured memory exception event when a to-be-monitored application runs, acquiring memory stack information corresponding to the memory exception event; wherein the memory exception event comprises at least one of a memory leak event, a memory depletion event and an exceptional memory allocation event; the memory stack information, the crash event data and the operation behavior data are subjected to association analysis, an association analysis result is obtained, and the association analysis result comprises associated transaction identifiers and corresponding memory stack information within a preset duration before the crash triggering time; and according to the correlation analysis result, identifying an abnormal reason of the to-be-monitored application. According to the method, the abnormal problem identification accuracy of the application can be effectively improved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Inter-thread communication method and device, electronic equipment and program product

The invention discloses an inter-thread communication method and device, electronic equipment and a program product, and relates to the technical field of computer software. The method comprises the following steps: receiving a subscription request of a message subscriber; receiving a message of a message sender, wherein the message comprises a synchronous message and an asynchronous message; determining a message subscriber matched with the message according to the identification information in the message; wherein for the asynchronous message, the intelligent pointer pointing to the memory of the asynchronous message is distributed to the message queue corresponding to the matched message subscriber; and for the synchronous message, directly calling a message processing function of the matched message subscriber. According to the method, a message sender does not need to specify a receiver, and the coupling problem of traditional thread communication is effectively solved; unnecessary thread blocking can be avoided through differential processing of the synchronous and asynchronous messages, the memory of the asynchronous messages is managed in combination with the intelligent pointer, the risks of memory leakage and system abnormity are solved, cross-language communication is supported, and the flexibility, reliability and efficiency of communication between the threads are remarkably improved.
Owner:SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD

Kernel memory vulnerability cause diagnosis method based on causal chain analysis

The invention belongs to the field of kernel vulnerability analysis of operating systems, and particularly relates to a kernel memory vulnerability cause diagnosis method based on causal chain analysis. The method comprises the steps of restoring a data dependency graph and a function call tree in a vulnerability triggering process from instruction-level tracking data in the vulnerability triggering process, and restoring a kernel execution state and kernel behavior semantics in combination with function modeling; analyzing the kernel execution state, and identifying an abnormal execution behavior in the kernel memory vulnerability in combination with the abnormal model of the kernel memory vulnerability; based on causal chain analysis of dynamic programming, causes of vulnerabilities are analyzed and obtained in a series of kernel execution abnormal behaviors. According to the method, the kernel execution state and behavior semantics are restored, the kernel abnormal behavior state is identified, and the causal chain of the abnormal behavior is analyzed, so that the cause of the kernel memory vulnerability can be effectively diagnosed, and the subsequent vulnerability repair work is promoted.
Owner:FUDAN UNIVERSITY

A memory leakage detection method, related device and equipment

Embodiments of the present application disclose a memory leakage detection method, related device and equipment, which are used for improving the detection accuracy. The method of the embodiments of the present application comprises: obtaining an object mapping list for a target business module, the target business module indicating a target business type of an application to be detected, the object mapping list being stored in a database and comprising a mapping relationship between an interface identifier and a number of operable objects, the interface identifier being used for uniquely identifying an interface of the target business module. In response to an exit operation for the application to be detected, first operable object data actually corresponding to M interfaces is obtained, the M interfaces comprising interfaces in a running state in the target business module before the application to be detected exits, and M being a positive integer. According to the object mapping list, second operable object data preset for the M interfaces is obtained. In a case where the first operable object data is greater than the second operable object data, it is determined that the target business module has a memory leakage.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Message transmission method, device and equipment and computer readable storage medium

The application discloses a message transmission method and device, equipment and a computer readable storage medium. The method comprises the following steps: receiving a first encrypted broadcast message sent by a first message publisher to a first message channel; determining at least one message subscriber corresponding to the first message publisher; monitoring the state of the at least one message subscriber; in the case that the state of a target message subscriber is an active state, sending a first notification message to the target message subscriber to instruct the target message subscriber to acquire and decrypt the first encrypted broadcast message from the first message channel to obtain a first broadcast message; and in the case that all the message subscribers in the active state among the at least one message subscriber have acquired the first broadcast message, deleting the first encrypted broadcast message. According to the embodiment of the application, resource waste and memory leakage can be avoided, and the efficiency, stability and security of information transmission are improved.
Owner:CHINA CONSTRUCTION BANK +1

Priority-based pop-up window management method and system, electronic equipment and medium

The invention relates to the technical field of computer programming, in particular to a priority-based pop-up window management method and system, electronic equipment and a medium. The method comprises the following steps: importing related classes; constructing a suspended function as a corresponding popup task for the popup, and instantiating the asynchronous result container as a decision result container corresponding to the popup task; acquiring the priority of the pop-up window task, and adding the pop-up window task into a pop-up window task queue based on the priority of the pop-up window task through a queuing method of a pop-up window queue manager; starting a coroutine in the coroutine action range, executing the pop-up window tasks in the pop-up window task queue according to the sequence, executing the pop-up window tasks, and obtaining a result value in a corresponding decision result container; if the result value is the preset value, executing the next pop-up window task in the pop-up window task queue in sequence; and if the result value is not the preset value, stopping executing all follow-up window popup tasks. According to the method, interface conflicts and memory leakage risks can be avoided, and the maintainability and reusability of codes are improved.
Owner:SHENZHEN GREEN CONNECTION TECH CO LTD

Memory leak detection method and device and computing equipment

Embodiments of the invention provide a memory leak detection method and apparatus, and a computing device. The method comprises the steps of obtaining a to-be-tested code; taking the to-be-tested code as the input of the first neural network model, and generating a parameterized test script of the to-be-tested code by using the first neural network model; operating the parameterized test script; in the process of executing the parameterized test script, monitoring runtime data of the to-be-tested code; under the condition that the memory leaks, determining the position of a code causing the memory to leak in the to-be-tested code according to the runtime data; generating a leakage detection report; the leak detection report includes a code location and a test execution path. By adopting the method, the leak behavior of the to-be-tested code is verified by dynamically executing the parameterized test script, and the memory leak point is specifically positioned, so that the accuracy and comprehensiveness of detection can be effectively improved.
Owner:XFUSION DIGITAL TECH CO LTD

Network page memory management method and device and electronic equipment

The invention provides a network page memory management method, a network page memory management device and electronic equipment, relates to the technical field of computers, can comprehensively know the running state of a server by collecting multi-dimensional running data in the server, and provides a rich and accurate data basis for subsequent memory performance prediction and health degree evaluation. Feature extraction and analysis are carried out on the operation data to obtain a network page memory performance prediction value, and possible problems such as memory insufficiency and memory leakage of the memory can be predicted in advance, so that corresponding processing is carried out on the server memory according to different memory health degree related data, memory use can be effectively optimized, and the service life of the server is prolonged. And the performance and the stability of the server are improved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Data storage method, data storage device, storage medium and electronic equipment

The invention relates to the technical field of data processing, in particular to a data storage method, a data storage device, a computer readable storage medium and electronic equipment. The method comprises the steps that real-time to-be-stored data is obtained, according to a to-be-written position indicated by a first pointer of a memory annular buffer area, the real-time to-be-stored data is written into the memory annular buffer area so as to generate cache data, the memory annular buffer area is provided with a fixed starting position and a fixed ending position in a memory, and the fixed starting position and the fixed ending position correspond to the fixed starting position and the fixed ending position. The memory annular buffer area occupies a continuous actual storage space in a memory; according to the length of the real-time to-be-stored data, a first pointer of the memory annular buffer area is updated; and when a preset condition is met, writing the cache data in the memory annular buffer area into an external memory. The memory leakage can be avoided, and the utilization efficiency of the storage space can be improved.
Owner:CHENGDU OPPO TELECOMM TECH CORP LTD

Memory optimization system and method based on dynamic memory allocation and garbage collection

The invention discloses a memory optimization system and method based on dynamic memory allocation and garbage collection, and the system comprises a memory monitoring module which is used for monitoring the use condition of a memory in real time; the dynamic allocation module is used for dynamically adjusting a memory allocation strategy according to the memory demand of the application program; the garbage recycling module is used for recycling useless memory by adopting a fractional garbage recycling algorithm; the memory compression module is used for regularly merging free memory blocks; the performance optimization module is used for dynamically adjusting the garbage collection frequency and the memory allocation strategy according to the system load; through dynamic allocation and memory compression, memory fragmentation is reduced, and the memory utilization rate is increased; through an efficient garbage recycling mechanism, the influence of garbage recycling on system performance is reduced; through an intelligent memory management strategy, the problems of memory leakage and memory insufficiency are avoided.
Owner:INSPUR FINANCIAL INFORMATION TECHNOLOGY CO LTD

Video page rendering method and device, computer equipment and storage medium

The invention provides a video page rendering method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a viewport position and a current action of a user in a process that the user browses a page, and dynamically requesting image resources according to an acquisition result; according to the action of the user on the video content, three-level cache processing is carried out, and the cache used by the browser is reasonably distributed; furthermore, the hardware and software configuration of the equipment is detected, for the equipment with lower configuration, the image to be rendered is split into a plurality of smaller image blocks and then is distributed to a plurality of WebGL contexts for asynchronous rendering in the background, and the main thread is not blocked while the rendering performance is greatly optimized. In addition, the WebGL textures are managed by adopting a strong reference mechanism and a weak reference mechanism, so that a large number of unused WebGL textures can be effectively prevented from being accumulated in the background, thereby avoiding memory leakage and excessive memory occupation, and ensuring stability and high efficiency when the user browses the video page for a long time.
Owner:TUYOO GAMES +3