sodcalculator

10 Tech How-To

How to Allocate More RAM to Specific Apps in Windows 10

Guide 10-52779 · Updated · Step by step

This guide shows you how to give a specific application more memory in Windows 10, which can help if a program is slow, crashing, or hitting a memory limit. You’ll learn how to adjust virtual memory (pagefile), set app priority, and use built-in Windows tools—no third-party software required.

What You’ll Need

  • A Windows 10 PC with administrator access (you’ll need to confirm UAC prompts).
  • At least 8 GB of RAM recommended for most apps; more for heavy programs like video editors or virtual machines.
  • Knowledge of which app you want to allocate more RAM to (e.g., Chrome, Photoshop, a game).

Step-by-Step

  1. Check current RAM usage. Press Ctrl+Shift+Esc to open Task Manager. Go to the Processes tab and note the Memory column for your target app. This tells you if the app is actually memory-constrained.
  2. Increase virtual memory (pagefile). Virtual memory acts as a safety net when physical RAM is full. To adjust it:
    1. Open Control Panel > System and Security > System.
    2. Click Advanced system settings on the left.
    3. Under Performance, click Settings.
    4. Go to the Advanced tab and click Change under Virtual memory.
    5. Uncheck Automatically manage paging file size for all drives.
    6. Select your system drive (usually C:), choose Custom size, and set Initial and Maximum size (e.g., 4096 MB for both). Set it to at least 1.5× your RAM for heavy use, but don’t exceed available disk space.
    7. Click Set, then OK, and restart your PC.
  3. Set the app’s priority to High. This doesn’t allocate RAM directly but makes Windows give the app more CPU and memory preference.
    1. Open Task Manager (Ctrl+Shift+Esc).
    2. Go to the Details tab.
    3. Right-click your app’s .exe (e.g., chrome.exe, photoshop.exe), hover over Set priority, and choose High.
    4. Confirm the warning. Note: priority resets when the app closes; you can use a shortcut or script to set it each time.
  4. Use app-specific settings. Some apps have built-in memory options:
    • Chrome/Edge: Type chrome://flags or edge://flags in the address bar, search for “memory” and enable features like “Memory Saver” or adjust site isolation (not always helpful).
    • Adobe Photoshop: Go to Edit > Preferences > Performance and increase the “Let Photoshop Use” RAM slider (e.g., from 70% to 85%).
    • Games: Many games have graphics settings that reduce memory usage; some have config files to increase cache sizes (e.g., Minecraft’s -Xmx argument).
  5. Close background apps. Freeing RAM helps your target app get more. In Task Manager, end tasks that are using significant memory but aren’t needed (e.g., background browsers, cloud sync).
  6. Use a 64-bit version of the app. If your app is 32-bit, it can only use ~2 GB of RAM. Install the 64-bit version if available (check the app’s official site).
  7. Consider a RAM upgrade. If the app still runs out of memory, physical RAM is the limit. Adding more RAM is the most effective solution for memory-hungry programs.

Common Mistakes

  • Setting pagefile too large. This can eat disk space and slow down your system. Use a size that’s reasonable (e.g., 1.5× RAM) and only if you actually need it.
  • Setting priority to Realtime. This can make your system unstable or freeze. Stick to High at most.
  • Forgetting to restart after changing pagefile. Changes only take effect after a reboot.
  • Assuming priority allocates RAM. Priority affects scheduling, not memory allocation directly.
  • Using third-party “RAM booster” tools. These often do more harm than good and are unnecessary.

Tips

  • Monitor memory pressure. In Task Manager, the Performance tab shows how much RAM is in use. If it’s consistently above 80%, your system is memory-starved.
  • Use ReadyBoost? Not recommended for RAM allocation; it’s for slow HDDs, not adding memory.
  • Create a shortcut to launch an app with high priority. Use a command like cmd /c start "" /high "C:\Path\To\App.exe" in a shortcut’s target.
  • Check for memory leaks. If an app’s memory usage grows over time, it may have a bug. Restarting the app periodically helps.
  • Keep Windows updated. Updates often improve memory management.

Troubleshooting

  • App still crashes with “Out of memory” error. First, close other apps to free RAM. If the app is 32-bit, install the 64-bit version. Also, check the app’s official forums for known memory issues.
  • Pagefile change didn’t help. Ensure you set it on the correct drive and that the drive has enough free space. Also, verify that the system drive is not full.
  • System becomes slow after increasing pagefile. Reduce the pagefile size or move it to a faster drive (SSD). If your RAM is low, consider upgrading.
  • Priority resets every time. This is normal. Use a script or shortcut to set it automatically at launch.
  • Task Manager doesn’t show the app’s .exe in Details. Look for the process name under the Processes tab, then right-click and choose “Go to details” to find the exact .exe.

Frequently Asked Questions

Does increasing virtual memory actually give my app more RAM? No, it gives it more virtual memory (disk space) to use as a fallback. Physical RAM remains the same, but the app can use more memory overall, which can prevent crashes.

Can I allocate all my RAM to one app? No, Windows reserves some memory for the system. You can only give an app a larger share of the available memory, not all of it.

Why can’t I set priority to Realtime? Realtime priority can cause system instability because the app may consume all CPU resources, making the system unresponsive. High is usually sufficient.

Is it safe to increase the pagefile to 16 GB? It’s safe if you have enough disk space, but it’s not necessary for most apps. A pagefile that’s too large can waste disk space and cause fragmentation.

Will this work for games? Yes, but games often have their own memory settings. You can also set the game’s priority to High, but be careful not to starve the system.

Do I need to restart after changing pagefile? Yes, for the changes to take effect. The restart is required by Windows.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →