How to Allocate RAM to Specific Apps in Windows 10

How to Allocate More RAM to Certain Apps in Windows 10

Did you know that you can specify how much RAM you want certain apps to use on your Windows 10 computer? Be it your browser still open with dozens of tabs open or games not working with music streaming or other programs running in the background?

So today, we are going to show you how to allocate more RAM to certain apps in Windows 10 to optimize memory usage on your computer. Usually, Windows already determines how much memory will be allocated to each application. However, you can override the default system settings manually and prioritize RAM allocation for certain apps in Windows 10. Here’s how to do it:

Method 1: Using Task Manager

The easiest way to allocate RAM to a specific app in Windows 10 is to increase its priority. You can do it easily from Task Manager by following the steps described below:

1. Open Task Manager (Ctrl + Shift + Esc) and click on the tab Details.

How to Allocate More RAM to Specific Apps in Windows 10-1

2. Now right click on the executable for your target application. Hover over Priority Set and select High or
Above Normal based on how much priority the program has for you.

How to Allocate More RAM to Specific Apps in Windows 10-2

3. Confirm by clicking Change Priority in the confirmation box.

How to Allocate More RAM to Specific Apps in Windows 10-3

This will ensure that your computer gives higher priority to that program over other applications that may be running concurrently.

Method 2: Using the Windows Context Menu

You can also determine the amount of RAM for each program by using the method below. It works for most of the apps, in this example, we will show you how to set (increase or decrease) RAM cache in Google Chrome.

1. Right-click on the Chrome shortcut on your desktop if it is available. Now select Properties.

PS: If there is no Chrome shortcut on the desktop, right-click on Google Chrome in the Start Menu and select More > Open File Location. Now right click on the shortcut in the folder that opens and select Properties.

2. Now in tab Shortcutssearch field Target and copy+paste
–disk-cache-size=1073741824 at the end of existing entries. Click OK.

How to Allocate More RAM to Specific Apps in Windows 10-4

The above action will allocate up to 1073741824 bytes (1GB) of cache RAM to Google Chrome. I chose 1GB for demo purposes. You can choose any value you choose (depending on the available memory on your computer) to increase or decrease the RAM cache in Google Chrome.

Method 3: Using App Settings

The best way to allocate additional RAM to a program (or reduce memory allocation) is to specify the amount from within that application’s settings. However, this method does not work for all applications, and even so, the process varies from program to program. Here, we will show you how to set (increase or decrease) RAM cache in Mozilla Firefox.

1. To manually set the RAM cache in Mozilla Firefox, first type about:config in the address bar of your browser and press Enter. If you get a warning, ignore it and close it to access advanced options.

How to Allocate More RAM to Specific Apps in Windows 10-5

2. Now search browser.cache. From the results that came out, now search browser.cache.disk.enable and double click to change the value to false.

How to Allocate More RAM to Specific Apps in Windows 10-6

3. Now find browser.cache.memory.enable. This should be true by default. This means disk cache is now turned off and memory cache is turned on.

How to Allocate More RAM to Specific Apps in Windows 10-7

4. Now find browser.cache.memory.capacity. The default value for this entry is -1. Press the button Edit (pen icon) to change the value.

How to Allocate More RAM to Specific Apps in Windows 10-8

5. Enter the value you want to increase or decrease the RAM cache in Mozilla Firefox. Finally, click blue check mark on the right to save your settings.

How to Allocate More RAM to Specific Apps in Windows 10-9

PS: The memory cache that you enter must be in kilobytes. So to allocate 1GB, the entry should be 1048576. The default value of -1 allows Firefox to choose its cache size depending on the installed RAM capacity of your computer.

Also read: How to Set GPU for Certain Applications on Windows 10 (PC/Laptop)

Risk of Allocating the Wrong Amount of RAM

You cannot possibly damage your PC by specifying too much (or too little) RAM for any application. However, this can cause the program to crash or become unusable under certain conditions. The reason is the so-called ‘ stack overflow error ‘, which occurs when the call stack memory is exceeded.

Also worth noting is that some apps are coded to use a certain amount of RAM. So, you might not see a massive improvement by allocating more memory to those programs.

Conclusion | Using the above tutorial, you should be able to easily allocate more RAM to certain apps to speed up your Windows 10 computer. Hopefully this tutorial is useful for those of you who need it and thank you for visiting.