How To Allocate More RAM To A Game (3 Easy Methods)

Lindsay Hayes

The easiest way to dedicate more RAM to a game is to use a high-priority setting for it. Besides that, a few games come with a native setting to allocate RAM.

As someone who has spent countless hours trying to squeeze every last bit of memory for my games, I can tell what works and what doesn't.

Well, you won't be rolling Cyberpunk at 4K on your 8 gig machine yet, but you should see an improvement in lag and FPS if you follow this guide.

Keep reading if you want to learn how to allocate more RAM to a game, without spending a single penny on RAM upgrade.

Contents

How Do I Allocate More RAM To A Game?

No, we're not talking about adding larger sticks to your rig. Turns out there's a workaround to overcome RAM limitations using only software.

The easiest way to devote more ram usage to certain games is by using the set priority option in task manager.

Here are the steps:

  1. Open Task Manager by pressing Ctrl + Shift + Esc.
  2. Hop over to the Details tab.
  3. Find the particular game you wish to allocate additional RAM.
  4. Right-click and navigate to Set priority. Select the priority as per your needs (High, Realtime, etc.).
  5. Confirm your selection by choosing Change priority.

Keep in mind that while Windows will now allocate more RAM and CPU to this application, it will in turn shrink system RAM available to other apps.

This works well if you just want to use one app at a time, as you can take full advantage of your computer's RAM for this one specific app.

However, it isn't the only method to assign more memory to games. Let's talk about some of the secondary methods.

Computer Motherboard

Allocating RAM To Specific Programs

Another effective method is when a particular program or game comes with an option to allocate RAM natively. In some applications like Adobe Premiere Pro and games like Minecraft, you can manually allocate more RAM via app settings.

For instance, in Premiere Pro, you can designate more RAM (under Edit > Preferences > General > Memory) to be reserved for other programs or background apps. The rest of the memory will automatically be set aside for Premiere Pro.

If you find such an option within your game, you're in luck!

Now let's explain this in detail with the example of Minecraft.

This seemingly simple game can get intensive once you start playing around with heavy builds and mods. Luckily, Minecraft allows you to allocate more memory to it using the following steps:

  1. Open your Minecraft (Default) Launcher and click on the Installations tab.
  2. Hover the cursor over your Minecraft version and select the three white dots on the right. Now click Edit.
  3. In the 'Edit Installation' window, click on More Options and scroll down to find the JVM ARGUMENTS field.
  4. In this field, change -Xmx2G to -Xmx#G, with # being the amount of RAM in GB that Minecraft will use (Don't change anything else).
  5. Click on Save and you're good to go.

You should see a difference in performance in most cases. Keep in mind that this method is specific to Minecraft and each program will have a different process of allocating RAM if any.

Nevertheless, this is one of the most effective ways to get a game to use more RAM.

How Is RAM Different From Virtual Memory?

Virtual Memory is simply a small chunk of your storage (Hard Drive or SSD) that is designated to emulate your computer's Random Access Memory (RAM). It's also called a paging file.

Whenever your PC is running low on memory, it starts moving information to the paging file.

Does this mean that 16GB RAM coupled with a 16GB paging file will give the same results as having 32GB physical memory? Well, no.

Your Storage device is likely much slower in comparison to the RAM, and consequently, any virtual memory is going to be a lot slower as well. Increasing it won't make your games run faster.

The paging file only limits any error that might occur due to memory overflow. It isn't a replacement for additional RAM.

ram module circuit boards

Can You Allocate More RAM To Steam Games?

Like the other methods above, you can't manually adjust Steam games to use a certain amount of memory. However, with a bit of tinkering with the settings, you can fix lag and low FPS problems using the in-app 'Launch Options'.

Follow these steps:

  1. In your Steam Library, right-click on the game you wish to allocate more RAM and select Properties.
  2. Here you'll find the Launch Options under the General tab.
  3. You can use various commands in this box, but for now, we'll be using the -heapsize command.
  4. Type -heapsize <value>, where <value> is the amount of RAM in KB you want to dedicate as cache for the game (Example: -heapsize 6291456).

This will ensure that adequate RAM is available for the best performance of Steam games.

The second trick to enhance performance is to turn off the Steam overlay feature. You can do this by logging into your Steam account and unchecking the Steam Overlay option under Preferences > In-Game. This can be useful if you're video streaming or you're on a slow network.

Why Do You Keep Running Out Of RAM?

Common reasons for running out of RAM include having too many programs or background processes running, antiviruses, too much cache, or outdated applications.

Here's a little checklist to keep your RAM usage in check:

How do you know when it's time to purchase more RAM vs. perform a few software tweaks?

Simple, if one of the above methods works for you, you can put off your RAM shopping for some time later.

Read more resources

Final Words

If you wish to allocate more RAM to a game, the best way is to set it to a higher priority. Limiting playback processes and other programs won't hurt either.

The methods discussed in this guide will add to a better gaming experience and possibly save you some money too.

Now that you have a trick or two up your sleeve, you can finally enjoy playing your favorite game without needing to spend anything on hardware upgrades.

Lindsay Hayes

Author
Hi, I’m Lindsay, a techie from Kansas City. That’s right; I’m a born and bred Midwesterner. I learned to take electronics apart at my dad’s GameStop way back when, and I haven’t stopped since. I spend most of my time checking out new gadgets.
Related posts
Affiliate links / Images from Amazon Product Advertising API. CPU Forever is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for website owners to earn advertising fees by advertising and linking to amazon (.com, .co.uk, .ca etc) and any other website that may be affiliated with Amazon Service LLC Associates Program. As an Amazon Associate I earn from qualifying purchases.
Copyright 2024 CPU Forever, all rights reserved.