Terraria RAM Fix: Here Is What You Have to Know

The game engine of Terraria often causes various RAM issues. We are here to fix them all! 🚀


Many gamers are curious about the best Terraria RAM fix. Let’s clarify: there is no universal fix, so we compiled a list of a few that are the most effective in resolving Terraria memory problems.

If you are experiencing issues with enabling mods, learn how to fix the tModLoader error.

Why did Terraria run out of memory?
Terraria runs out of memory because this 32-bit game is limited to 4GB. The game itself can’t consume more than 4GB, but problems begin when game modifications require more. Besides faulty mods, the issue can be hidden behind broken RAM, low virtual memory, missing Visual C++ dependencies, resource-consuming background apps or startup services, or Windows permission issues.

How do I fix Terraria RAM issues?

Start by doing the following checks and fixes:

  • Disable mods: Hold the left Shift key while the game loads to disable all mods. If the issue doesn’t occur, one of the mods is causing the memory leak, so find and disable it.
  • Check your RAM: If you have general issues with RAM, we advise you to check the health of the memory. If you have multiple RAM sticks, test them one by one.
  • Set high priority: Use the CTRL + ALT + Tab shortcut and select Task Manager. In the Details tab, find Terraria, right-click, and choose High under Set Priority. Confirm the action and try playing the game.

Here is the list of the best Terraria RAM fixes.

  1. Increase Windows virtual memory
  2. Use 64-bit tModLoader
  3. Install Visual C++ dependencies

1. Increase Windows virtual memory

Time needed: 3 minutes

Windows virtual memory is an extension to your RAM. Although it is much slower since it is a portion of your drive, it can provide excellent support, especially when a memory leak or other problem is causing RAM issues in Terraria. We advise you to set it to 2x the size of your RAM manually.

  1. Use the Windows Key + R shortcut to open the Run dialog, type control, and hit OK.

    run dialog control panel

  2. Click on the dropdown next to View by and select Large icons.

    contorl panel view by large icons

  3. Click on the search, type Performance, and click on Adjust the appearance and performance of Windows.

    control panel adjust appearance and performance

  4. Navigate to the Advance tab and hit the Change button under the Virtual Memory section.

    performance options advanced change

  5. Disable Automatically manage paging file size for all drives.

    automatically manage paging file size disable

  6. Select the Custom size button, enter values 2x of your RAM in MB, and hit the Set button.

    For example, 8GB is 8192MB so you would enter twice as much – 16384MB.virtual memory custom size set

  7. Click OK and restart your PC to apply the changes.

2. Use 64-bit tModLoader

This method will allow you to play Terraria in a 64-bit environment, meaning the 4GB RAM limitation will be gone!

  1. Head to the official tModLoader GitHub page and download the latest stable 64-bit release.
  2. Run the installation and follow the steps.
    Install tModLoader to folder differnet to Terraria installation.
  3. Launch Steam and head to the Library.
  4. Click on Games in top menu and select Add a Non-Steam Game to My Library.
    Steam add non Stem game to library
  5. Find and add tModLoader 64bit.
    From now on, you can launch Terraria through tModLoader 64bit and remove the RAM limitation.

3. Install Visual C++ dependencies

Visual C++ dependencies are necessary for properly functioning games and apps on Windows and their interaction with your RAM.

  1. Open the official page for the Visual C++ Redist Packages download.
  2. Click on the Link and download vc_redist, which suits your operating system architecture.
    X86 is for 32-bit systems.
    X64 is for 64-bit systems.
    visual studio c++ dependencies package
  3. Run the installation package and follow the steps.
  4. Restart your PC

Extra steps

If Terraria is still running out of memory, you might want to learn an additional Terraria RAM fix or two:

  • Close background apps: Every background app will consume RAM, although you aren’t using it.
  • 💻 Run Terraria as an admin: Right-click the Terraria executable (.exe) file and select Properties. Run this program as an administrator in the Compatibility tab and hit OK.
  • 💽 Perform a Clean Boot: This will lower the possibility of compatibility caused by startup services.
  • 🔁 Reinstall Terraria: Uninstall the game and restart your PC. Perform a clean Terraria installation through Steam and check if the problem occurs again. If so, upgrade your RAM.

Related articles:


We hope you found your perfect Terraria RAM fix! Remember, faulty Terraria mods are often the most significant cause for Terraria RAM issues, so disable problematic ones. Check if your RAM is okay, and set the game to High priority. Once you do all that, increase Windows virtual memory and install Visual C++ dependencies.

To run Terraria in a 64-bit environment, you must add 64-bit tModLoader to Steam and launch it from there. Additional steps include disabling background apps and startup services and running Terraria with administrator permissions. Good luck, and comment on how it went for you!

You might also like
Leave A Reply

Your email address will not be published.