0xc0000142 error code with high ram usage?

Skylarz

Distinguished
May 24, 2013
718
0
19,360
Hi, for the past few days I've been getting 0xc0000142 after 30 minutes of using my pc. It eats up my ram and my games would freeze. I have 8GB but the ram usage usually goes up to 78% in idle (with almost nothing opened). How do I fix this?
 

zechstiver

Honorable
Nov 9, 2014
104
0
10,710
one thing you can do is clean internet temp files, history, cookies etc.. using something like ccleaner!(on the internet browser you use) also manage your startup programs through msconfig. such ram usage programs. This is the only idea i have to help you! hope it helps
 

Skylarz

Distinguished
May 24, 2013
718
0
19,360


Ya thanks I've tried them before but it didn't help.
 

PassMark

Distinguished
Error 0xC0000142 means STATUS_DLL_INIT_FAILED.
DLLs are executable code (like .exe files) that are shared between applications. They can fail to be initialized for several reasons, but one possible reason is due to a memory leak that uses up the desktop 'heap'. See,
http://blogs.technet.com/b/askperf/archive/2007/07/24/sessions-desktops-and-windows-stations.aspx

The solution is to find out which application or service is using all the RAM and disable to upgrade the application. You can start this process by using Task manage to display a list of processes running while the machine is idle and see which ones are using the most RAM.

 

Skylarz

Distinguished
May 24, 2013
718
0
19,360


Thank you I did look with all processes showing, but nothing appeared. I tried the trick where you view the handle to see if it was abnormally large, but that was all normal. The error happens randomly, during games or just browsing.
 

PassMark

Distinguished
Your screen shots only showed a small fraction of the process list. So it is hard to make any intelligent comment, other than to say you have a huge amount of stuff running at the same time. Multiple chrome windows, multiple Steam processes, multiple anti-virus tools, Torrents, WinRAR, plus lots of other stuff. There is also some process (not visible in your screen shots) that used up to 3GB of RAM, sitting under a svchost.exe process.
 

Skylarz

Distinguished
May 24, 2013
718
0
19,360


Sorry that I take so long to reply but here are some better pictures I guess
http://i.imgur.com/PGImDL2.png after the leak
http://i.imgur.com/G7o0VHH.png before the leak