Skip to main content

How To Avoid And Fix Memory Leaks In Windows 10

You might have encountered issues with computer performance, potentially causing memory leaks. Various software can slow down your computer if it leaks memory (when a program fails to 'release' memory it has used). By default, a closed program should allow other software then to use that same area of memory. If, however, the program is still using the memory having been closed, that is where memory leak problems begin.
A memory leak is a Random Access Memory (RAM) loss caused by one or more programs. Therefore, a specific program is using more memory than it should, or it is not releasing it when the program closed, and continues to use the memory. A certain amount of RAM is required for a process to run, and this is perfectly normal, unless the system starts to behave abnormally. Memory leaks are usually only temporary, since restarting the computer empties RAM memory. If, however, the computer remains switched on with various processes running in the background, some processes might cause memory leaks.

Edit Registry

Windows Registry, usually referred to as just 'the registry', is a collection of databases of configuration settings in Microsoft Windows operating systems. It is used to store much of the information and settings for software programs, hardware devices, user preferences, operating system configurations, and much more. Many of the options exposed in the registry are not accessible elsewhere in Windows. To open Registry Editor, you will first need to open Run dialog box. Press Windows Windows key + R or right-click Start and select "Run" and type "regedit". Press Enter or click "OK".
NOTE: Create a restore point before you make any changes in Windows Registry (editing the Registry incorrectly can lead to more serious problems).
Follow this path by expanding every entry until you find the "Ndu" key: "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services". Find "Ndu" key under Services and select it. Now you should see the "Start" REG_DWORD on the right pane. Double-click it and assign the value data to 4. Click "OK" to save the changes.
Now find the "Null" key under the same Services key and double-click "Start" REG_DWORD. Also set its value to 4 . Click "OK" to save the changes.
Now follow this path: "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager" and select the "Memory Management" key. Double-click the "NonPagedPoolSize" REG_DWORD on the right pane. Change Base to "Decimal" and set value data to 192. Click "OK" to save the changes, exit Registry and see if memory leak problem is now solved. If not, try to restart your computer after editing the Registry.

Disable Superfetch

Superfetch is a Windows service that is intended to speed up application launching and improve system responsiveness. It caches data so that it can be immediately available to your application. Superfetch achieves this by preloading frequently-used programs into RAM so that they are not required to be called from the hard drive. This can sometimes affect performance and slow down the system, or cause memory leaks. To disable Superfetch, open the Run dialog box and type "services.msc". Press Enter on the keyboard or click "OK".
Now set the "Startup type" to "Disabled" and stop the service by pressing the "Stop" button. Click "Apply" to save the changes, restart your computer, and check if this solves the memory leak problem.

Run Windows Memory Diagnostic Tool

Run the built-in Windows Memory Diagnostic tool. Windows Memory Diagnostic is a memory test tool, which is comprehensive and easy to use. To launch it, type "windows memory diagnostic" or "mdsched" in Search and click the "Windows Memory Diagnostic" result.
To run diagnostics, restart the computer. You will be asked if you want to restart now or to run it the next time you start your computer. When you restart the computer, Windows Memory Diagnostic Tool will start automatically. You will be able to see the test process and results on the screen.

Defragment Your Hard Drive

A built-in Windows feature called "Defragment and Optimize Drives" optimizes drives to help the system run more efficiently (or analyzes them to determine if they require optimization). To launch the defragmentation tool, type "defragment" in Search and click the "Defragment and Optimize Drives" result.
You will see a list of drives connected to the computer. Select the hard drive you want to defragment and click "Optimize". The optimization process should take a while. Wait for it to finish.
NOTE: We do not recommend that you defrag your drive if it is a Solid State Drive (SSD) or Hard Disk Drive (HDD).

Comments

Post a Comment

Popular posts from this blog

How to Remove Powered by Blogger – Attribution Widget?

In this article, I will be demonstrating how to remove or hide attribution widget ‘Powered by Blogger’ in footer of blogger blogspot blogs.  Before going to the process,  backup your blogger template , while editing html code if anything goes wrong or template modified design doesn’t work or looks good you can restore from backed up template.  Here I have demonstrated you two methods for removing attribution widget. Some blogger templates may not support method 1 then you need to follow method 2 for successfully removing attribution widget. Method 1: Remove ‘Powered by Blogger’ by unlocking Attribution widget Step 1 : Go to your blog “Template” | click on “Edit HTML”. Step 2 : Here on drop-down “jump to widget” option and select Attribution 1 as shown below Step 3: After selecting Attribution 1 widget you will be able to see this line <b:widget id=’Attribution1′ locked=’true’ title=” type=’Attribution’>  on your blogger template. Step 5: Once done click on...

Top 7 Modules in Python Programming language | 2020

Python is a simple programming language yet of very high level and is very much popular. This days the use of python has gone very high and it is expected to be much higher in the upcoming days in the near future. So, today in this article we will be discussing about some modules in python language which are most to be learnt: NumPy: It helps to do basic mathematical operations and complex math with algebraic formulas, statistical operations,etc. It is a valuable python package and is important for machine learning. Pendulum: It helps to do complex coding involving dates and time and is broad form of datetime module. It also manages the time zone automatically hence, it is a replacement for the datetime module. Python imaging library: It makes easy to write codes that involves to open, read and manipulate or modify images in a variety of formats. The Pillow or PIL imaging library is good for importing, manipulation and exporting images. MoviePy: As pillow is to images, moviePy ...

The four yugas (Era or Epoch) in Hinduism

A yuga is the period-of-time or ages. In Hinduism, the Chatur-yuga (Four-Yuga) are large time periods characterizing and defining humans as well as social development on the earth. There are four different yugas, (Chatur---> Four) and each of them have their own feature in history. Let's see their names: Satya Yuga (सत्य युग) Treta Yuga (त्रेता युग) Dwapara Yuga (द्वापर युग) Kali Yuga(कली युग) Let's learn briefly on them: 1. Satya Yuga: It is also called as Krita yuga, which is the first of the yuga. Satya means truth. It lasted for 17,28,000 years or 4800 Divine years. It is the truth or golden age, where all humans were good and very religious. It was the first and best yuga without crime and all humans were kind and friendly. It is called Krita Yuga as there was one religion and all men were saintly. Humans used to be 33 feet in height and average human lifespan was of 1,00,000 years.   The bull of   Dharma  symbolizes that morality stood on all four legs durin...