Results 1 to 4 of 4

Thread: GDI Memory in Windows XP

  1. #1
    Join Date
    Jul 2009
    Posts
    6

    GDI Memory in Windows XP

    I am using Windows XP in my computer. I recently changed my monitor setting from 800x600 to 1024x768 resolution & showing me the leak of GDI Memory... Can someone Help Please...??

  2. #2
    Join Date
    Jan 2008
    Posts
    3,388

    Re: GDI Memory in Windows XP

    What is GDI ???

    The Graphics Device Interface (GDI) is a Microsoft Windows interface of programming of applications and operating system basic component responsible for the representation of graphical objects and its transmission to the output devices such as monitors and printers.

    GDI is responsible for tasks such as drawing lines and curves, rendering fonts and handling palettes. It is not directly responsible for drawing windows, menus, etc.; that task is reserved for the user subsystem, which resides in user32.dll and is built atop GDI. GDI is similar to Macintosh's QuickDraw.

  3. #3
    Join Date
    Apr 2008
    Posts
    3,267

    Re: GDI Memory in Windows XP

    This problem can occur only when all of the following conditions are met :

    • The device context mapping mode is set to MM_ISOTROPIC or MM_ANISOTROPIC (via a call to SetMapMode()).

    • A new font of any type is selected into the device context (via a call to SelectObject()). It is assumed that the font handle returned by SelectObject() is stored by the application for later reselection into the current device context.

    • The window extents or viewport extents are changed (via a call to SetWindowExtEx() or SetViewportExtEx()).

    • A previous font is selected back into the device context. This is where the memory leak occurs.

  4. #4
    Join Date
    Nov 2005
    Posts
    3,026

    Re: GDI Memory in Windows XP

    There are many solution given by Microsoft Support I think it will solve your problem. I have given the direct link to it just have a look at it...! Hope it helps you..!

    MFC applications leak GDI objects
    GDI Memory Leak
    Memory Leak in GDI
    The FontConverter GDI object causes a memory leak

Similar Threads

  1. Replies: 6
    Last Post: 10-08-2011, 10:20 PM
  2. Does Windows 7 system memory shrinks as Video card memory gain?
    By Kevlina in forum Motherboard Processor & RAM
    Replies: 4
    Last Post: 02-05-2011, 09:22 PM
  3. Replies: 5
    Last Post: 15-12-2010, 07:27 PM
  4. Replies: 2
    Last Post: 12-12-2008, 04:28 PM
  5. Replies: 1
    Last Post: 25-05-2008, 03:52 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,575,782.97226 seconds with 16 queries