Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory allocation method and system for solving insufficient memory for applying for pictures

A technology for memory allocation and insufficient memory, applied in the field of memory allocation methods and systems for solving insufficient memory application for pictures, can solve the problems of insufficient memory for applying pictures, memory allocation methods for insufficient memory for applying pictures, etc., so as to improve display efficiency and save memory space , Solve the effect of insufficient memory

Active Publication Date: 2017-05-24
PHICOMM (SHANGHAI) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a memory allocation method and system for solving the problem of insufficient memory for applying for pictures, which is used to solve the problem that the prior art cannot fundamentally solve the problem of insufficient memory for applying for pictures

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 system for solving insufficient memory for applying for pictures
  • Memory allocation method and system for solving insufficient memory for applying for pictures
  • Memory allocation method and system for solving insufficient memory for applying for pictures

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0043] The purpose of the present invention is to provide a memory allocation method and system for solving the problem of insufficient memory for applying for pictures, which is used to solve the problem that the prior art cannot fundamentally solve the problem of insufficient memory for applying for pictures. The principle and implementation of a memory allocation method and system for solving the insufficient memory of the applicati...

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 provides a memory allocation method and system for solving the problem of insufficient memory for applied pictures. The method comprises the following steps: S1, applying picture resources; S2, judging whether the picture resources exists or not, if yes, withdrawing memory allocation, and, if no, executing S3; S3, judging whether a picture layer where the current picture locates is in a user visible picture layer or not, if no, withdrawing memory allocation, and if yes, executing S4; S4, judging whether the memory of an intelligent mobile terminal is sufficient for allocating memory for the applied picture resources or not, if yes, executing S5, and if no, executing S6; S5, allocating memory for the applied picture resources; S6, judging whether picture resources which are not in the user visible picture layer exist in a memory heap or not, if no, stopping allocating memory for the applied picture resource and withdrawing memory allocation, and if yes, executing S7; S7, recovering the memory for picture resources which are not in the user visible picture layer; returning for executing S4. According to the invention, the problem of insufficient memory for the applied picture can be effectively solved.

Description

technical field [0001] The present invention relates to the technical field of memory management in mobile terminals, in particular to the technical field of image memory management, and specifically relates to a memory allocation method and system for solving insufficient memory for applying for images. Background technique [0002] In the mobile terminal system, the problem of memory overflow (OOM, Out Of Memory) will be encountered from time to time, that is, the memory is not enough. In particular, when a large number of pictures are used, the probability of this problem is relatively high. After this problem occurs, the corresponding application will often be forcibly closed, which brings great inconvenience to the user. [0003] The reason for this problem is that when applying for memory allocation for pictures, a judgment will be made on the memory space that needs to be applied. If the current size of the heap plus the size of the memory that needs to be allocated a...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/02
Inventor 万江霞
Owner PHICOMM (SHANGHAI) CO LTD