Windows 10: Memory leak ? icons and preview disapear, Ghost RAM usage

Discus and support Memory leak ? icons and preview disapear, Ghost RAM usage in Windows 10 Support to solve the problem; Hi, Since upgrade to build 9879 i have an other big issue and if anyone can please help with it. I think it is memory leak, after some hours of... Discussion in 'Windows 10 Support' started by netuser, Nov 26, 2014.

  1. netuser Win User

    Memory leak ? icons and preview disapear, Ghost RAM usage


    Hi,

    Since upgrade to build 9879 i have an other big issue and if anyone can please help with it.

    I think it is memory leak, after some hours of use, i start to see weird things. Like icons and preview thumbnail are no more showing on task bar, when i click on start menu, it doesn't seem to show up but when move mouse up i start to see lines of each row showing up.

    Same if i right click on task bar it show up a black empty square but when moving mouse in it show up lines. The preview of Firefox thumbnail is jsut a blue enpty square box. Closed app icons still Ghost icons on task bar but there are not there in real as clicking dont do anything.

    In Task manager 6 GB of my 8 GB ram is used and I only have Firefox opened with 4 tabs, and it is showing using 500 MB only. I dont see any other program using a lot of memory but still 6GB is used and I don't know how to see what on earth is using all my RAM.

    Anyone have any idea what is going on ? it seem like ghost memory Leak. Reboot help till it start over again after some hours. It never happened with previous build.

    Thanks

    :)
     
    netuser, Nov 26, 2014
    #1
  2. Alexu88 Win User

    PC Gaming

    But after i exit the game it shows like before, 12% mem usage, it can also be a memory leak? I thought memory leaks is when all ram is used, it can be memory leak even if your ram is free?
     
    Alexu88, Nov 26, 2014
    #2
  3. Memory Leak

    I have been getting a high usage of memory when my PC is idle. I have 16gb of memory and after an hour or two my RAM usage is at 50% or above. I have done everything people have told me to do and still no fix. I have done a memory check (No problems
    found), I have updated drivers, checked for malware, updated my PC.
     
    Steven_D17, Nov 26, 2014
    #3
  4. Kari Win User

    Memory leak ? icons and preview disapear, Ghost RAM usage

    There's a known issue in Build 9879, when GDI objects count in Explorer process reaches 10,000 the Explorer starts acting like you described. More about this issue on Microsoft TechNet: https://social.technet.microsoft.com...iew2014General

    To see the number of GDI objects, open Task Manager and go to Details tab. Right click anywhere in the column titles row and click Select columns and select GDI objects from the list, click OK:

    Memory leak ? icons and preview disapear, Ghost RAM usage [​IMG]


    The GDI objects are now shown:

    Memory leak ? icons and preview disapear, Ghost RAM usage [​IMG]


    When this count reaches 10,000 the issue starts but it can luckily be easily and fast fixed. First kill (end) the Explorer process by right clicking it and selecting End task:

    Memory leak ? icons and preview disapear, Ghost RAM usage [​IMG]


    Notice that killing the whole Explorer process your Taskbar and all open File Explorer windows will disappear.

    Now open the Task Manager's File menu and select Run new task, type Explorer.exe and click OK:

    Memory leak ? icons and preview disapear, Ghost RAM usage [​IMG]


    Explorer restarts, the GDI object count is low and you can continue using Windows normally.
     
  5. netuser Win User
    Thank you so much for such a detailed reply. I see that only after an hour my explorer GDI is already at 5000 *Sad .

    I saw on your link that are some .bat file to run the task to kill the explorer at 9000 GDI, did you tested any ? Is it safe to use it ?

    Thanks
     
    netuser, Nov 26, 2014
    #5
  6. Kari Win User
    No, I have not tested because this has happened to me not too often; when it happens it's a few seconds job to kill and relaunch Explorer I've been happy with that.
     
  7. netuser Win User
    Thanks to @Kari for the link where there is a script to automatically kill and restart the process , I tried to post on that site but i am unable dont know why.

    So I am asking here if anyone can help me, as I don't know how to run this script, I copy pasted in text file then renamed it .bat. When I run it i see a cmd window flashed and go but I do nothing

    Link of the post : https://social.technet.microsoft.com...iew2014General


    Here is the script :

    Code: set GDIViewPath=C:\Other Program Files\GDIView\ set GDIDumpPath=c:\batch\ set GDILimit=9000 "%GDIViewPath%GDIView.exe" /scomma "%GDIDumpPath%gdiview.txt" for /f "tokens=1,2,15 delims=," %%G in (%GDIDumpPath%gdiview.txt) do ( if %%I gtr %GDILimit% ( echo %date% %time% The process %%H had %%I GDI Objects, so it is closed for sanity >>%GDIDumpPath%Leak.Log taskkill /PID %%G /F start %%H ) )[/quote]
     
    netuser, Nov 29, 2014
    #7
  8. usasma Win User

    Memory leak ? icons and preview disapear, Ghost RAM usage

    Did you install GDIView in the directory named C:\batch ?
    I'm not real good at this stuff, but it seems that the author may have changed the GDIView directory to c:\Other Program Files\GDIView\ - so try copying the GDIView files there also.

    I suppose that you won't see anything until the GDILimit of 9000 is reached

    Also, try this code:
    Code: set GDIViewPath=C:\Other Program Files\GDIView\ set GDIDumpPath=c:\batch\ set GDIProcess=explorer.exe set GDILimit=10 "%GDIViewPath%GDIView.exe" /scomma "%GDIDumpPath%gdiview.txt" for /f "tokens=2,15 delims=," %%G in (%GDIDumpPath%gdiview.txt) do @if "%%G"=="%GDIProcess%" set totalGDI=%%H if %totalGDI% gtr %GDILimit% ( Echo WARTING!! at %date% %time% %GDIProcess% was closed at %totalGDI% and the limit was %GDILimit% >>%GDIDumpPath%Leak.Log taskkill -im %GDIProcess% -f start %GDIProcess% ) else ( Echo %date% %time% It is safe at %totalGDI% and the limit is %GDILimit% >>%GDIDumpPath%Leak.Log )[/quote] The author states that it generates a logfile, so you can view that to see what happens (log will be at C:\batch\Leak.Log.
     
    usasma, Nov 29, 2014
    #8
  9. usasma Win User
    If unable to get GDIView into both directories, then try it in each one individually.
    Good luck!
     
    usasma, Nov 29, 2014
    #9
  10. topgundcp Win User
    It is not neccesarily that explorer.exe was the cause for memory leak. As we all know, explorer.exe is the main Windows core file and often being spawn/forked by other processes.

    I have not had any problem until I tried to download multiple files from the Internet with Internet Download Manager and using GDIView - View GDI handles/resources list and detect GDI leaks to monitor the GDI Object and noticed the # of GDI objects increased to 10000 within 30 seconds. Disable Internet Download Manager Add-on and the problem goes away.

    FYI, Firefox also caused this problem until they fixed it with the latest version 33.1.1

    To quickly restart explorer, I added the entry to the right click menu as shown below:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Directory\background\shell\Restart Explorer]
    "Icon"="%SystemRoot%\\System32\\imageres.dll,73"
    "Position"="Bottom"
    @="Restart Explorer"

    [HKEY_CLASSES_ROOT\Directory\background\shell\Restart Explorer\Command]
    @="TSKILL EXPLORER"

    PS. I have tried with both Chrome and Firefox. With Internet Download Manager Add-on enabled, I got the same problem. So in my case the culprit is the Internet Download Manager Add-on for both Chrome and Firefox.
     
    topgundcp, Nov 29, 2014
    #10
  11. netuser Win User
    Thanks to all of you for replies *Smile

    I didn't knew i had to install a GDView app in order to it to work. I downloaded and put GDIView.exe in batch folder and it worked. *Smile

    topgundcp: Your idea of Right click is very nice but problem is when this GDI issue happens i cant right click on Desktop *Sad

    Also now i know Memory leak is another issue not related really to GDI.

    Can anyone help me please to find out what is using my RAM ? When I start my computer I only have 1 GB of my 8 GB used. I only use Firefox and other small app i don't use all the time, like qbtorrent, note++ paint.net. Now after some time my RAM usage go up to 6.5 GB and when i check in Taskmanager I dont see any app using that much RAM. Firefox is using only 700 MB and other app are using just tiny bit of Ram.

    The total doesn't add up, what is using or leaking my RAM ? How to see that ? I have at some point was forced to close app as RAM usage peaked so high system was not responding :S

    Here are the screenshots,


    Memory leak ? icons and preview disapear, Ghost RAM usage [​IMG]


    Memory leak ? icons and preview disapear, Ghost RAM usage [​IMG]


    Memory leak ? icons and preview disapear, Ghost RAM usage [​IMG]



    Thanks *Smile
     
    netuser, Nov 29, 2014
    #11
  12. topgundcp Win User
    @netuser
    Yes, it's true but when I hover my mouse over the items pinned to the task bar, explorer.exe was respawned and allows me to right click again.
     
    topgundcp, Nov 30, 2014
    #12
  13. usasma Win User

    Memory leak ? icons and preview disapear, Ghost RAM usage

    Nothing stands out in the screen shots (other than Firefox using 600+ mB of RAM.

    Let's see if some reports can give us some more info:

    Although you're not having BSOD's, please provide this information so we can provide a complete analysis (from the Pinned Topic at the top of the BSOD forum):
    BSOD - Posting Instructions

    Also, Please do the following:
    - open Event Viewer (run eventvwr.msc from the "Run" dialog))
    - expand the Custom Views category (left click on the > next to the words "Custom Views")
    - right click on Administrative Events
    - select "Save all Events in Custom View as..."
    - save the file as Admin.evtx
    - zip up the file (right click on it, select "Send to", select "Compressed (zipped) folder")
    - upload it with your next post (if it's too big, then upload it to a free file-hosting service and post a link here).
     
    usasma, Nov 30, 2014
    #13
  14. topgundcp Win User
    The processes that task manager displays is not all that is running or being consumed. Download RamMap from Sysinternals tool and this will show you exactly what is using the memory in windows.
     
    topgundcp, Nov 30, 2014
    #14
  15. netuser Win User
    Thanks @usasma for instructions, here are the files dump as you require. :

    WIN-M0OA4IJE0SA-2014-12-01_193201_68.zip And Admin.zip

    Also here is screenshot from RamMap as @topgundcp asked I dont know what is this mapped file that is using 3.5 GB of RAM :S :

    Memory leak ? icons and preview disapear, Ghost RAM usage [​IMG]
     
    netuser, Dec 1, 2014
    #15
Thema:

Memory leak ? icons and preview disapear, Ghost RAM usage

Loading...
  1. Memory leak ? icons and preview disapear, Ghost RAM usage - Similar Threads - Memory leak icons

  2. Memory Leak/Usage

    in Windows 10 Gaming
    Memory Leak/Usage: HiJust by looking at the task manager I can see there is a high memory usage but I can't identify what program is consuming the memory. Is there another application that can help to identify what program is using excess ram? After restarting my memory usage goes back to...
  3. Memory Leak/Usage

    in Windows 10 Software and Apps
    Memory Leak/Usage: HiJust by looking at the task manager I can see there is a high memory usage but I can't identify what program is consuming the memory. Is there another application that can help to identify what program is using excess ram? After restarting my memory usage goes back to...
  4. YourPhoneServer.exe - excessive RAM usage/memory leak?

    in Windows 10 Software and Apps
    YourPhoneServer.exe - excessive RAM usage/memory leak?: I noticed yesterday that YourPhoneServer.exe is using excessive RAM, it appears to have a memory leak as the RAM use increases all the time. Also, if I sign out of my PC or do a restart, I have to re-link the app for it to work again. Last update of the app was March 6th...
  5. Memory Leak, 100% Usage!

    in Windows 10 Network and Sharing
    Memory Leak, 100% Usage!: Hi, this is my first time posting on this forum or any forum to be exact however I could not find a working solution to my current problem that I have had for a couple of days now, see what's happening is that I have an incredibly large RAM usage for no known reason nonp -...
  6. Potential Memory Leak? Very high RAM usage

    in Windows 10 Ask Insider
    Potential Memory Leak? Very high RAM usage: Recently my computer has basically become unusable. It is extremely slow. I looked at the task manager and saw that my PC is using 98% of its RAM, this is at the desktop where I am literally doing nothing and seems to happen every time I turn my PC on. As far as I am aware,...
  7. High CPU usage & Memory leak

    in Windows 10 BSOD Crashes and Debugging
    High CPU usage & Memory leak: Hello, I've a leak memory and high CPU from lanmanServer and System ntoskrnl.exe. The system ntoskrnl.exe is on 19%-20% CPU usage all the time and the Lanmanserver is starting from 40MB RAM and will continue until the Memory usage will be full and eventually the machine...
  8. High RAM usage (~65%), can't find the culprit (maybe memory leak)

    in Windows 10 Ask Insider
    High RAM usage (~65%), can't find the culprit (maybe memory leak): I noticed a high RAM usage sometime ago when Minecraft kept on crashing due to limited RAM. After a while of troubleshooting, I thought it might be a memory leaky since every time I restart, usage would return to normal, but I can't find the culprit even with poolmon. Here is...
  9. Memory leak (usage gradually increases)

    in Windows 10 Performance & Maintenance
    Memory leak (usage gradually increases): Ever since I upgraded to Windows 10, I have noticed something. The memory usage gradually increases over time (starts off just under 30%, takes only a few days to climb to 50%, depending on how many programs I use) and I inevitably have to reboot, after which the whole cycle...
  10. Win10 extreme high ram usage! But not memory leak problem, have a look

    in Windows 10 Performance & Maintenance
    Win10 extreme high ram usage! But not memory leak problem, have a look: So this has been really frustrating, I've looked up many, many sites online, changing regedit values, updating all drivers, disabling services, changing virtual memory, virus scan, cleaning up, rammap, poolmon... etc. As you can see: [img] [img] This clearly isn't the...