Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory release method, terminal and computer readable storage medium

A technology of memory release and memory, which is applied in the field of memory release and IE browser memory release, to achieve the effect of recycling

Pending Publication Date: 2019-12-20
INSPUR QILU SOFTWARE IND
View PDF13 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical task of the present invention is to provide a kind of memory release method, terminal and computer-readable storage medium for the above deficiency, to solve how to use the memory occupied by the iframe frame in the ie browser without affecting the use of the overall frame. the problem of release

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory release method, terminal and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] A memory releasing method of the present invention is used for releasing the memory of the iframe frame of the IE browser. The method includes three working conditions for cleaning circular reference memory, cross-page memory and closed iframe page memory.

[0035] Working condition 1. Release of circular reference memory

[0036] Circular references to several accounts are the root of each leak. Usually, IE browser's own memory recovery method can have a good impact on it, but IE browser (below IE10) does not provide a sound memory recovery method. In view of the above problems, this embodiment constructs memory storage through DOM elements, and deletes additional memory storage while deleting DOM elements. The specific process is as follows:

[0037] S100. Construct an instance DOM element while creating an object by creating a new DOM element, and the instance DOM element is used for storing object elements;

[0038] S200. Establish an association relationship betw...

Embodiment 2

[0059] A terminal of the present invention includes a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory are connected to each other, the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to A method for freeing memory as disclosed in Embodiment 1 is performed by calling program instructions.

Embodiment 3

[0061] A computer-readable storage medium according to the present invention. The computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the method for releasing memory disclosed in Embodiment 1. method.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a memory release method, a terminal and a computer readable storage medium, belongs to the field of IE browser memory release, and aims to solve the technical problem of how torelease an iframe under the condition that the use of the whole frame is not influenced by the existence of the iframe occupied in an ie browser. The method comprises the following steps: for a circularly referenced object, constructing a memory storage through a DOM element, and deleting an additional memory storage while deleting the DOM element; when an object is called between iframe pages inthe IE browser through the intermediate object to be newly built and inserted, marking and deleting the intermediate object; and for the closed iframe page, marking an unreferenced object based on aniframe marking algorithm and deleting and releasing the unreferenced object. A processor in the terminal is configured to call a program instruction to execute the method for releasing the memory. When the program instruction in the readable storage medium is executed by the processor, the processor executes the method for releasing the memory.

Description

technical field [0001] The invention relates to the field of IE browser memory release, in particular to a memory release method, a terminal and a computer-readable storage medium. Background technique [0002] With the development of Internet informatization, government websites and office procedures have also followed suit, and various websites have grown exponentially. Among many websites, the iframe frame is a mode widely used by everyone. Easy to use, easy to deploy and other advantages have won the favor of the majority of web application developers and have been widely used. Using the iframe frame in the ie browser will keep high memory usage when the page is constantly switched, and the more iframe pages are opened, the larger the memory usage will be. Even if all the open iframe pages are closed, the memory usage will not decrease significantly. . The high memory usage has caused the browser to freeze or even freeze and crash. [0003] How to release the memory o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F12/02G06F9/50
CPCG06F12/023G06F9/5016
Inventor 孙正均房爱印陈萌
Owner INSPUR QILU SOFTWARE IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products