How To Clean Up Computer Memory

Posted on  by admin

Anyone who regularly works with a computer and has to deal with software which requires a lot of processing power knows how important powerful hardware is. Most people immediately think of the processor or graphics card (especially when the focus is on image and video editing). However, the main memory is also of fundamental importance for the smooth operation of the system and other software. This memory is required by the processor to manage the data of running programs and services or processes. The capacity of the main memory has a decisive influence on how many applications can be loaded simultaneously and how quickly data can be processed.

To clean up system files associated with your account, follow these instructions: In the Drives list, tap or select the drive that you want to clean up and then tap or select OK. In the Disk Cleanup dialog box, tap or select Clean up system files. Note: If prompted, type an administrator password or confirmation. Restart Windows Explorer to Clear Memory 1. Press Ctrl + Alt + Del keys at the same time and select Task Manager from the listed options. 2.Find Explorer and click Restart. Also to keep your system at top performance, you should periodically restart (not shut down) your PC to flush out your RAM, because when you just shut down your PC, the contents of RAM are written to your hard drive and when you start up again, that is read back into RAM, restarting clears your RAM contents. Click Disk Cleanup. It's a flash drive-shaped icon at the top of the Start menu. Disk Cleanup will open in a separate window. If you have other windows open, you'll need to click the flashing Disk Cleanup icon at the bottom of the screen before proceeding.

In principle, the more memory, the better. However, since the costs also play a role and the RAM memory cannot be expanded, many people use a fairly simple trick when the memory reaches its limits - deleting processes that are no longer required from the cache, and creating space for the data that is relevant for your current activities. This increasing your RAM. So all you do is clear the RAM or free it up.

  1. Free up your RAM – here’s how

What is the function of the main memory?

The main memory, also called RAM memory, is the central storage unit for all data that is required for programs or program parts that are currently running and for all active system processes. This memory, whose data is automatically lost when the computer is switched off, is accessed directly by the processor. If there is not enough memory available to process the relevant data during such an access attempt, the execution of the respective application will not work. The more processes take place simultaneously and the higher the system requirements of the executed programs, the more important a high capacity RAM becomes.

Which factors are vital for an efficient RAM?

The performance of the main memory is affected by the following three factors:

  • Access speed: time required for successful access (write or read operation)
  • Data transfer rate: a value that indicates the amount of data that can be transferred in a given time
  • Memory capacity: available RAM

These three things are essential for the efficiency of the main memory in managing processes to be executed. Capacity is of particular importance, as it sets a strict limit to the storage capacity. For example, if an application requires 2 gigabytes and another 3 gigabytes of memory over a longer time, both cannot run simultaneously if only 4 gigabytes of memory are available. However, when it comes to processing a large number of temporary processes, access speed and data transfer rate come into play. The faster the individual data is processed and then disappears from the main memory, the faster space is freed up from the RAM for new processes.

Cleaning My Computer Memory

Why is it a good idea to clear your RAM? And when should you do this?

A slow PC can be frustrating, especially when you need to problem solve and use your computer quickly. An ever decreasing performance of the computer is often connected with straining the RAM. On the one hand, it is already automatically occupied by the operating system and system processes, on the other hand, it gets a bit fuller with every open program. Often it is of little use to close programs again. The latter is due to the fact that all files are rarely deleted from memory when you close an application. In addition, there are programs and processes that are active but not actually needed. For the above reasons, it may be advisable to clear the RAM if your computer shows signs of a significant decrease in performance

Free up your RAM – here’s how

Even if you are unsure whether your computer's memory is actually too full, you can try and free it up anyway. This way you’re only pre-empting an operation that would be performed automatically when you turn off your computer (but save the files you are working on so that your work results are not lost). In general, you have three different options for clearing your RAM manually:

  1. Empty the working memory via the task manager of your system
  2. Write a script that releases used memory
  3. Use an external tool that has a function for emptying RAM memory

The following sections explain what you need to do in detail.

To clear the RAM in Windows 7, 8, and 10 via the task manager

The task manager has long been an established feature in Windows systems. The background service lists running applications, services, and processes and also provides an overview of CPU and memory usage. Opening the Windows service works across all Windows versions by pressing the key combination[Ctrl] +[Shift] +[Esc]. Press these three buttons simultaneously to open the interface. Alternatively, you can also use the Windows search: Simply enter the term “Task Manager” and then click on “View running processes with Task Manager.”

To use the task manager to empty the working memory under Windows 7 and other versions select the “processes” tab:

Now go through the list of active processes and search for those that you do not need – for example, because you have already closed the program. Select the corresponding processes with a left or right click and press “end task” to close them permanently and clean up the working memory piece by piece.

Empty memory via script: the necessary steps

An interesting alternative to memory management via the task manager is to write a script that frees up a specified amount of RAM when it is executed. That sounds like a complex task at first glance – but you don't need any programming experience. A small entry in a simple text document created for this purpose is completely sufficient. To create a script to clear the RAM, proceed as follows:

Create a new text document by right-clicking on your desktop and selecting “new” and “text document” in the pop-up menu:

Open the created document and insert the following line of text:

Then save the file under the desired name. Make sure that ANSI is set as the encoding form if the editor offers an appropriate option. The last step is to replace the default extension .txt with the extension .vbs. Only in this way can Windows determine that the file is a script.

You can now execute the script simply by double-clicking it. The code proposed here automatically releases 32 megabytes of main memory, and this process can be repeated as often as required. Of course you can also adjust the amount and empty 128 megabytes (“Space(128000000)”). However, the value should never exceed half of the built-in memory size – otherwise there is a risk of program errors or even system crashes.

How to clear RAM with external tools

If you want to use an external solution instead of the system-internal possibilities for memory cleaning, this is also possible without problems: there are various programs that were developed especially for this purpose and are mostly freeware. One of the most popular tools of this kind is Wise Memory Optimiser. The program by the developer company WiseCleaner is completely free of charge and available for all current Windows systems. After you install and start Wise Memory Optimizer, you will be taken to the main screen of the application, which displays both the occupied and free memory. With a single click on “Optimize Now” you can use the tool to empty the memory under Windows XP up to 10.

Under the tab “settings” (the gear symbol), you can activate auto-optimization. Use the slider to specify how much should be cleared from the RAM automatically (for example, if less than 1280 MB is free, then the RAM should be optimized).

As an alternative to Wise Memory Optimizer, you can also use the tools RAMRush or Mz RAM Booster to clear your RAM.

Related articles

Optimized Storage helps you save storage space space by storing your content in iCloud and making it available on demand:

  • When storage space is needed, files, photos, movies, email attachments, and other files that you seldom use are stored in iCloud automatically.
  • Each file stays right where you last saved it, and downloads when you open it.
  • Files that you’ve used recently remain on your Mac, along with optimized versions of your photos.

If you haven't yet upgraded to macOS Sierra or later, learn about other ways to free up storage space.

Find out how much storage is available on your Mac

Choose Apple menu  > About This Mac, then click Storage. Each segment of the bar is an estimate of the storage space used by a category of files. Move your pointer over each segment for more detail.

Click the Manage button to open the Storage Management window, pictured below.

Manage storage on your Mac

How To Clean Up Computer Memory

The Storage Management window offers recommendations for optimizing your storage. If some recommendations are already turned on, you will see fewer recommendations.

Store in iCloud

Click the Store in iCloud button, then choose from these options:

  • Desktop and Documents. Store all files from these two locations in iCloud Drive. When storage space is needed, only the files you recently opened are kept on your Mac, so that you can easily work offline. Files stored only in iCloud show a download icon , which you can double-click to download the original file. Learn more about this feature.
  • Photos. Store all original, full-resolution photos and videos in iCloud Photos. When storage space is needed, only space-saving (optimized) versions of photos are kept on your Mac. To download the original photo or video, just open it.
  • Messages. Store all messages and attachments in iCloud. When storage space is needed, only the messages and attachments you recently opened are kept on your Mac. Learn more about Messages in iCloud.

Storing files in iCloud uses the storage space in your iCloud storage plan. If you reach or exceed your iCloud storage limit, you can either buy more iCloud storage or make more iCloud storage available. iCloud storage starts at 50GB for $0.99 (USD) a month, and you can purchase additional storage directly from your Apple device. Learn more about prices in your region.

Optimize Storage

Click the Optimize button to save space by automatically removing watched movies and TV shows. When storage space is needed, movies or TV shows that you purchased from Apple and already watched are removed from your Mac. Click the download icon next to a movie or TV show to download it again.

Your Mac will also save space by keeping only recent email attachments on this Mac when storage space is needed. You can manually download any attachments at any time by opening the email or attachment, or saving the attachment to your Mac.

Optimizing storage for movies, TV shows, and email attachments doesn't require iCloud storage space.

Empty Trash Automatically

Empty Trash Automatically permanently deletes files that have been in the Trash for more than 30 days.

Reduce Clutter

Reduce Clutter helps you identify large files and files you might no longer need. Click the Review Files button, then choose any of the file categories in the sidebar, such as Applications, Documents, Music Creation, or Trash.

You can delete the files in some categories directly from this window. Other categories show the total storage space used by the files in each app. You can then open the app and decide whether to delete files from within it.

Learn how to redownload apps, music, movies, TV shows, and books.


How to wipe computer memory

Where to find the settings for each feature

How To Clean Up Laptop Memory

The button for each recommendation in the Storage Management window affects one or more settings in other apps. You can also control those settings directly within each app.

  • If you're using macOS Catalina or later, choose Apple menu  > System Preferences, click Apple ID, then select iCloud in the sidebar: Store in iCloud turns on the Optimize Mac Storage setting on the right. To turn off iCloud Drive entirely, deselect iCloud Drive.
  • If you're using macOS Mojave or earlier, choose Apple menu > System Preferences, click iCloud, then click Options next to iCloud Drive. Store in iCloud turns on the Desktop & Documents Folders and Optimize Mac Storage settings.
  • In Photos, choose Photos > Preferences, then click iCloud. Store in iCloud selects iCloud Photos and Optimize Mac Storage.
  • In Messages, choose Messages > Preferences, then click iMessage. Store in iCloud selects Enable Messages in iCloud.
How To Clean Up Computer Memory
  • If you're using macOS Catalina or later, open the Apple TV app, choose TV > Preferences from the menu bar, then click Files. Optimize Storage selects “Automatically delete watched movies and TV shows.”
  • In you're using macOS Mojave or earlier, open iTunes, choose iTunes > Preferences from the menu bar, then click Advanced. Optimize Storage selects “Automatically delete watched movies and TV shows.”
  • In Mail, choose Mail > Preferences from the menu bar, then click Accounts. In the Account Information section on the right, Optimize Storage sets the Download Attachments menu to either Recent or None.

Empty Trash Automatically: From the Finder, choose Finder > Preferences, then click Advanced. Empty Trash Automatically selects “Remove items from the Trash after 30 days.”

Other ways that macOS helps automatically save space

With macOS Sierra or later, your Mac automatically takes these additional steps to save storage space:

  • Detects duplicate downloads in Safari, keeping only the most recent version of the download
  • Reminds you to delete used app installers
  • Removes old fonts, languages, and dictionaries that aren't being used
  • Clears caches, logs, and other unnecessary data when storage space is needed

How to free up storage space manually

Even without using the Optimized Storage features described in this article, you can take other steps to make more storage space available:

  • Music, movies, and other media can use a lot of storage space. Learn how to delete music, movies, and TV shows from your device.
  • Delete other files that you no longer need by moving them to the Trash, then emptying the Trash. The Downloads folder is good place to look for files that you might no longer need.
  • Move files to an external storage device.
  • Compress files.
  • Delete unneeded email: In the Mail app, choose Mailbox > Erase Junk Mail. If you no longer need the email in your Trash mailbox, choose Mailbox > Erase Deleted Items.

Learn more

  • The Storage pane of About This Mac is the best way to determine the amount of storage space available on your Mac. Disk Utility and other apps might show storage categories such as Not Mounted, VM, Recovery, Other Volumes, Free, or Purgeable. Don't rely on these categories to understand how to free up storage space or how much storage space is available for your data.
  • When you duplicate a file on an APFS-formatted volume, that file doesn't use additional storage space on the volume. Deleting a duplicate file frees up only the space required by any data you might have added to the duplicate. If you no longer need any copies of the file, you can recover all of the storage space by deleting both the duplicate and the original file.
  • If you're using a pro app and Optimize Mac Storage, learn how to make sure that your projects are always on your Mac and able to access their files.