Oom command not allowed when using memory

Freeing up space on Windows 10

If your PC is running out of free space, you may not be able to install critical Windows updates and your PC's performance may be affected. Here are a few ways to free up disk space so that your PC is always up to date and running smoothly. Use the tips in the appropriate order. Start with the first one, see if this solves your problem, and move on to the next tip if it doesn't.

To find out the total space remaining on your Windows 10 device, open the File explorerin the system tray, and then select on the left This pc out. The available space on your drive is shown under Devices and drives displayed.

Note:If you follow the steps below and continue to have problems updating Windows due to insufficient hard drive space, it may help to reset or reinstall Windows. For more information, see Reinstall Windows 10.

When an out of disk space error occurs because the temporary folder is full

If you've used Disk Cleanup to free up space on your device and then you encounter an out of disk space error, it is possible that your Temp folder is quickly filling up with application (.appx) files used by the Microsoft Store. For more information, see Insufficient Disk Space Due to a Full Temp Folder.

Free up space with memory optimization

Storage Optimizer can automatically free up drive space for you by removing items you don't need, such as your notebook. B. Temporary files and objects in your trash. For more information, see Manage Drive Storage with Storage Optimization.

Free up space with Disk Cleanup

If there is no memory optimization on your system, you can use Disk Cleanup to delete temporary files and system files from the device.

  1. Type in the search box on the taskbar Disk cleanup and then select it from the results.

  2. Check the box next to the types of files you want to delete. (For a description of each file type, select the name.) Will be default Downloaded program files, Temporary internet files and Thumbnails selected. Be sure to clear these check boxes if you do not want to delete these files.

  3. To free up more space, select Clean up system files and then the type of system files you want to delete. It takes a moment for Disk Cleanup to calculate the space that can be reclaimed.

    Note:If it has been less than 10 days since you upgraded to Windows 10, your previous version of Windows will be listed as a system file that you can delete. If you need to free up space on the drive, you can delete it, but note that you delete your Windows.old folder. This contains files that you can use to revert to the previous version of Windows. Deleting the previous version of Windows is irreversible. (You cannot revert to the previous version of Windows.)

  4. After choosing the types of files you want to delete, select OK and then in the confirmation window delete filesto start the cleanup.


  • You can also use Disk Cleanup to do this Compress the operating system drive. Choosing this option will compress the drive Windows is installed on, giving you extra space to install critical updates. Through this action will be Not The contents of this drive will be deleted and you should not have any problems opening and saving files on the compressed drive.

  • After installing the update, you can manually uncompress the operating system drive at any time. To do this, open the File explorerin the system tray and select in the left pane This pc out. Right-click or tap and hold the operating system drive (usually drive C) and then select properties in the context menu. Uncheck the box Compress drive to save space and then select ApplyOK

Free up some space to install the latest update for Windows 10

Windows 10 may warn you that more space is required to get the latest Windows 10 feature update. You can connect an external storage device to complete the update.

For more information, see Free some space to install the latest update for Windows 10.

Note:You may need to use a micro USB adapter if the device does not have a standard USB port.

Delete personal files or move them to an external storage device

Personal files, e.g. Videos, music, photos, and documents can take up a lot of space on your device. To check which files are using the most space:

  1. Open the File explorerin the system tray and find the files you want to move.

  2. Choose underThis pc Select a folder in the menu on the left to see what files are in it. The folders Videos, music, images and Downloads usually contain the largest files that you have stored on your device.

  3. To view the size of the files in a folder, select view > Details Right-click in the empty area, then select sort by > size to display the largest files at the top of the list.

  4. If there are files on your device that you no longer need, you can delete them or move them to an external storage device such as a USB drive or SD card.

Note:Whenever you delete files, be sure to empty the Recycle Bin to completely remove the files from your device and free up space.

Photos, music, videos, or other files that you want to keep but rarely use can be moved to an external storage device such as your B. a USB drive or an SD card. Once the drive is connected, you can continue to use the files without taking up any space on your PC.

  1. Connect an external storage device such as a USB drive or SD card to your PC.

  2. Choose File explorer in the system tray and go to the folder with the files you want to move.

  3. Select the files, then select the tab Home page. Then choose Move to > Select storage location out.

  4. From the list of locations, select the connected external storage device, and then select Move out.

Save new personal files to a different drive

If you save new files to another drive, you will prevent future shortages of space on this drive. This eliminates the need to repeatedly move your files to another drive. Instead of storing all of the new files on the default drive, you can save some of them on a different drive that has more free space.

  1. Choose begin > Settings > system > Storage.
    Open the storage settings

  2. Choose under Further memory settings the option Change the storage location for new content out.

  3. For each content type, select a drive from the drop-down menu. If the drive you want to use is not in the list, check that it is connected to the PC.

Activate OneDrive files when needed

Note:OneDrive files on demand require Windows 10 version 1709 or higher and OneDrive client version 17.3.7064.1005 or higher. To find out which version of Windows you are running, choose the button begin > Settings > system > infoout. To find out which version of the OneDrive client is installed, see What version of OneDrive am I using?
Open settings for "Info"

You can save storage space by turning on OneDrive files on demand. This turns large files on the hard drive into smaller ones Placeholder files replaced. The actual files are stored in your OneDrive account in the cloud. You can access files on your PC via OneDrive without them permanently taking up space on the hard drive. For more information, see Learn about OneDrive files on demand.

Use anti-virus programs

Sometimes a virus or other malware can take up significant hard drive space by corrupting your system files. If you suspect your PC is infected with malware, use an antivirus program such as Windows Defender to scan for viruses and, if necessary, run cleanups. If that doesn't fix the problem, you may need to reset your PC.

If you need more help freeing up space on your device even after you've followed the instructions listed here, contact Microsoft support to chat with a support representative. This is also recommended if your attempts to free up space cause error codes that you need help with.

The following questions relate in particular to problems that occur with insufficient memory and with Windows Update. More information on Windows Update.

How do I know if there isn't enough free space to install updates?

If there is not enough space to install an update, you will see a toast notification letting you know that additional space is required to install the update.

If you solve problems If you select, you will get information about how much additional space is required. You will also be advised of the option of using an external storage device to free up less space on the system. Learn how to free up disk space to install Windows updates.

How much free storage space your device needs for an update depends on the respective update. Feature updates typically require 6-11 GB or more of free space, while quality updates require 2-3 GB or more. Learn more about the difference between a feature update and a quality update.

Why does Windows need additional space during the update process?

Disk space is required to download the update, download new versions of any currently installed optional features and languages, and apply the update. Additional disk space is temporarily required to support the uninstallation of the update, typically for 10 days. This space can be freed up after the update is complete. Choose begin > Settings > system  > Storage > Free up space now.
Open the storage settings

The update is compressed to reduce the download size.

Why does the disk space required to upgrade Windows vary so much?

The space required for a feature update mainly depends on two factors: Which update path is used and how large are optional content and other updates for the PC when the feature update is installed?

Windows uses three different approaches for function updates, depending on the currently available hard disk space.

1. For PCs with enough free storage space

Windows will automatically try to complete the update process in the background while you are using your PC. This will reduce the time your PC will spend during the update offline (i.e. not usable) is shortened considerably. However, more disk space may be required temporarily to complete the update. Find out more about our efforts to reduce the offline time for updates (currently only available in English).

2. For PCs with little free space, but enough space to complete the update automatically

Windows automatically optimizes operations to reduce the free space required to install the update. This leads to a longer offline installation time.

3. For PCs that do not have enough space to install the update automatically

Windows will ask you to free up some space or use external storage to temporarily add more space on your PC. If you use an external storage device, Windows does not need as much free space on the system drive because it uses the external storage temporarily.

The total free space required on each of these update paths depends on the optional content installed and other updates that apply to your PC. For example:

  • Optional functions. Many of the optional features available for Windows are preinstalled or purchased by the system or manually by you as needed. Switch to Settings > Apps > Apps & functions > Manage optional featuresto see which are installed on your PC.
    Open settings for optional functions
    These features range in size from less than 1MB to nearly 2GB for the Windows Mixed Reality portal. You can reduce the amount of disk space required to install a feature update on your PC by uninstalling optional features that you are not using.

  • Installed languages. Windows is translated into many languages. Although many users only use one language at a time, some users switch between two or more languages. You can see which languages ​​are installed on your PC by pressing begin > Settings > Time and language > language choose.
    Open language settings
    Each time it is updated, all language resources and all associated resources for input, text-to-speech, speech-to-text and handwriting recognition must be updated. The content for each language can range from approximately 175 MB to more than 300 MB. You can reduce the space required to install a feature update on your PC by uninstalling languages ​​that you are not using.

  • Driver updates. OEMs and other hardware partners sometimes release new graphics, network, audio, and other drivers in conjunction with the new operating system update. The size of these drivers can vary significantly depending on the PC and the drivers being updated.

  • Operating system quality updates. During a feature update, Windows tries to download the latest quality update and install it automatically so that your PC is up to date when it starts. Shortly after the feature update is released, the quality update for this feature update can only be a few hundred MB. However, as more quality and security changes are implemented, the quality update size can grow to 1 GB or more. If your PC is running out of space, you can download and install the quality update after the feature update is complete.

Finally, Windows Update temporarily disables hiberfile.sys, pagefile.sys, and other system files and uses the space these files normally require to apply the feature update. Any files that are disabled to apply the update will be automatically re-enabled when the update is complete. Because these files vary in size depending on how your PC is used and how much memory it has, the amount of free hard disk space required for the upgrade may vary, even if two different PCs have the same operating system image.

The combination of the update path and functions means that the amount of free space required to complete the update can vary widely. Here are some examples of PCs that are being updated to Windows version 1803:

Optimized for reduced offline time

Optimized for minimal storage space

Optimized for minimal storage space with external storage

Minimal optional features, languages ​​and updates

20 GB

5.5 GB +

4.5 GB +

Lots of optional features, languages ​​and updates

20 GB +

13.75 GB +

7 GB +

How do I know how much space is left?

To find out the total space remaining on your Windows 10 device, open the File explorerin the system tray, and then select on the left This pc out. The available space on your drive is shown under Devices and drives displayed.

When should I use local external storage like a USB stick instead of a cloud storage service like OneDrive?

We recommend using an external storage device in the following cases:

  • When internet access is not available.

  • When you need to store large files or a large number of files. In these cases, files will take longer to upload and files to save may cost more.

My hard drive is almost full. How can I tell if my Windows is up to date?

Windows Update automatically offers updates for eligible devices. To make sure your device is up to date, select begin > Settings > Update and security  > Windows Update and subsequently Looking for updates out.
Looking for updates

More information on Windows Update.

When buying a new device, what should I keep in mind with regard to Windows updates? Are 32 GB or 64 GB hard drives sufficient?

In general, we recommend choosing a device with a larger capacity, as local storage space requirements can change over time. If you know you don't want to keep a lot of photos, videos, or other files and apps on your device, a 32GB device might be enough. A good example is a device that you only use to run a small app, or that you only use for online content that is never downloaded to the local hard drive.

When choosing the storage hardware for your device, don't just consider the size of the storage. The speed of the memory is often more important than its size. Devices with slow storage hardware, e.g. B. those with the designation "HDD", are usually much slower than devices with faster storage hardware, z. B. those labeled "SSD" or "eMMC."

Do I have to completely erase my hard drive before I update, or just some files?

You don't have to remove everything from your hard drive to update your device, but you do need to free up enough space to update your device.

Related topics