A method to solve memory fragmentation caused by windows GDI drawing
A memory fragmentation and memory technology, which is applied in the field of improvement of the memory management method of WINDOWS system, can solve problems such as memory fragmentation, and achieve the effects of improving stability and speed, reducing CPU time, and avoiding memory fragmentation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0019] In order to allow those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described below in conjunction with the accompanying drawings.
[0020] The method used in this method to solve the memory fragmentation caused by WindowsGDI drawing is to independently extract the same operations (creation of memory DC and memory compatible bitmap) that need to be performed each time the window is drawn, and complete the initial creation work during the system startup process. A global static memory DCm_dcTemporary and a global static memory bitmap m_bitmapTemporary; during the entire life cycle of the system operation, this memory DC and memory bitmap are used in every place that needs to be depicted, without frequent creation and destruction The operation not only reduces the memory fragmentation caused by frequent creation, but also reduces the operation of each window rendering, reduces the time of w...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More