Memory allocation method and terminal equipment

A memory allocation and memory technology, applied in the field of memory management, can solve problems such as longer memory allocation time, waste of memory resources, and slower application startup speed

Pending Publication Date: 2021-04-16
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The size of memory required by different applications to start is not the same. For applications that require more memory at startup, if less memory is allocated each time, the terminal device needs to perform multiple memory allocations in stages, resulting in memory allocation The longer the time, the slower the startup speed of the application, and for the application that requires less memory at startup, if more memory is allocated each time, it will cause a waste of memory resources

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 allocation method and terminal equipment
  • Memory allocation method and terminal equipment
  • Memory allocation method and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the solutions of the present invention will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0065] In the following description, many specific details have been set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here; obviously, the embodiments in the description are only some embodiments of the present invention, and Not all examples.

[0066] In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall no...

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 embodiment of the invention provides a memory allocation method and terminal equipment, and belongs to the technical field of memory management. The method comprises the steps of receiving a starting instruction, wherein the starting instruction is used for starting a target application program; according to the memory information of the target application program and processes needing to be started when the target application program is started, obtaining the memory demand of the target application program, and the memory information of the target application program comprises memories needed by all the processes of the target application program; and allocating memory to the target application program according to the memory demand. The method of the invention is used for avoiding wasting memory resources while not influencing the starting speed of the application program.

Description

technical field [0001] The invention relates to the technical field of memory management, in particular to a memory allocation method and a terminal device. Background technique [0002] With the development of hardware technology and software technology of terminal equipment, terminal equipment such as smartphones, smart watches, and handheld computers have been widely used in people's lives, and the application programs (Application, APP) installed in terminal equipment are becoming more and more abundant. . [0003] During the use of the terminal device, users are generally sensitive to the startup speed of the application. If the startup speed of the application is too slow, it will inevitably affect the intuitive experience of the user. An important factor affecting the startup speed of the application is the memory size allocated by the terminal device to start the application. If the memory allocation is insufficient, the application startup will be very slow, or eve...

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): G06F9/50
Inventor 张金山韩冰天王振淦
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products