How To Allocate More Memory To Terraria

How To Allocate More Memory To Terraria
How To Allocate More Memory To Terraria

Terraria is an addictive 2D sandbox game with a retro pixel art style. It has been around since 2011 and is still being updated to this day. With Terraria, you can go on adventures into the depths of your imagination! But sometimes, it may not run smoothly because of a lack of RAM. We have some tips for how to allocate more ram to terraria so that it runs better for you!

Here are the Terraria System Requirements:

OS: Microsoft Windows XP (with the latest Service Packs) or later.

Processor: 2 GHz Pentium 4 or equivalent.

Memory: 512 MB RAM

Graphics Card: 128 MB with Pixel Shader 3.0

Support DirectX: 9.0c

Hard Drive Space: 600 MB

Sound Card: Windows Compatible Card All other systems I’ve tried and tested this on worked great! The 🙂 The expected performance increase is between 10-50%.

All tests were performed by me and are accurate! Of course, I’m not responsible for any problems that may occur, nor do I claim that my way of allocating more RAM will work in every case. Allocate at your own risk. 😀 

Allocating more memory to a game can cause glitches; however, in Terraria, this generally isn’t the case. Allocating more RAM to Terraria is rather straightforward to do; follow these instructions below to allocate more memory to Terraria!

How To Allocate More Memory To Terraria

Instructions are for 32 bit Windows OSs only. (If you have a 64 Bit operating system- skip to step #5 instead of step #1 and ignore the rest of steps 1-4).

Step 1:   Run Resource Hacker (Win 7 users can search for it in the start menu, Win 8 users go here )

Step 2:  Allocate Extra RAM: click the button with a dropdown box showing Allocation Mode. Change it from Allocation Mode: Allocate mode to Allocation Mode: Overlay mode.

Step 3(Alternative):  Allocate Extra RAM: select a block of memory with Text/Hex Editor (e.g., E) and click the button Allocate extra memory, type in the desired amount of memory, e.g., 1GB, hit enter, and close the window that pops up – you can ignore the Allocated Block Size now.

Step 4:   Modify Terraria’s executable file Go to this address in Resource Hacker (Ctrl+R or File->Open):  C:\Program Files\Steam\steamapps\common\terraria

Change Terr’s Allocation Size to your desired amount of Allocated RAM in MB, e.g., Alloc 100 for Allocate 100MB RAM to Terraria.

Step 5:   Create a shortcut with the modified executable Run it (make sure Allocate Extra Ram is set in Overlay mode)

This small tweak will allow terraria to allocate more memory when you run it!

Happy gaming 🙂

Note 1: Some reports have reported that using this method causes input lag on non-Windows 7/8 systems.

If you experience that, please use the alternative method shown above instead of step #3. 

Note 2:  Some people have reported that setting AllocSize only changes their FPS without any effect on AllocMemSize! For Terraria 1.2.4 All Allocation Size do the following: 

For Terraria 1.2.3 All Allocation Size do the following: 

Step 6:   Change AllocMemSize Go to this address in Resource Hacker (Ctrl+R or File->Open): C:\Program Files\Steam\steamapps\common\terraria     

Change AllocMemSize to your desired amount of Allocated RAM in MB, e.g., Alloc 100 for Allocate 100MB RAM to Terraria.

Note 3: Do not attempt to allocate more than 50% of your computer’s memory (RAM) because it will cause severe problems such as Windows freezing/crashing and even computer reboots. Allocate at your own risk.  

Note 4: Some computers may have Allocation Mode: Allocate mode by default (this is the if you do not change Allocation Mode in Resource Hacker as described above). If this is the case, please skip to step #7

Step 7:   Save Allocated Memory Type in a name for the executable, e.g., “Terraria 1.2.4 Alloc 100MB” and save it as *.bat file Double-click on that bat file to run Terraria with the desired memory usage.

For Terraria 1.2.3 All Allocation Size do the following: 

Step 8: Create a shortcut with the modified executable Run it (make sure Allocate Extra Ram is set in Overlay mode)

This small tweak will allow terraria to allocate more memory when you run it!

Happy gaming 🙂 

Note 5: Some reports have reported that using this method causes input lag on non-Windows 7/8 systems. If you experience that, please use this alternative method shown above instead of step #3.

For Terraria 1.2.4 All Allocation Size do the following: 

Step 9: Allocate Extra RAM: click the button with a dropdown box showing Allocation Mode. Change it from Allocation Mode: Allocate mode to Allocation Mode: Overlay mode.

Step 10(Alternative): Allocate Extra RAM: select a block of memory with Text/Hex Editor (e.g., E) and click the button Allocate extra memory, type in the desired amount of memory, e.g., 1GB, hit enter, and close the window that pops up – you can ignore Allocated Block Size now.

Step 11 : AllocMemSize Go to this address in Resource Hacker (Ctrl+R or File->Open): C:\Program Files\Steam\steamapps\common\terraria

Change AllocMemSize to your desired Allocated Memory size, e.g., Alloc 100MB for Allocate 100 MB RAM to Terraria.

Note 6:  Some computers may have Allocation Mode Allocate mode by default (this is the if you do not change Allocation Mode in Resource Hacker as described above). If this is the case, please skip to step #12.

Step 13 : AllocMemSize Go to this address in Resource Hacker (Ctrl+R or File->Open): C:\Program Files\Steam\steamapps\common\terraria     

Change AllocMemSize to your desired Allocated Memory size, e.g., Alloc 100 MB for Allocate 100 MB RAM to Terraria.

1. You can allocate memory only when you run a bat file that has allocated memory preset as stated. e.g. AllocateExtraRam_1GB

2. It’s ok if Allocation Mode Alloc is set to Allocate mode in Resource Hacker, but Allocation Size says Alloc 100MB. It means a bat file has overridden RAM Alloc with a preset amount of RAM allocated. You can still change it to Allocate 100 MB and make it work again!

3. If you have All-Tournament Items tweak installed on your computer already, overwrite the entry below: C:\Program Files\Steam\steamapps\common\terraria \Terraria.exe (located at Data File if Terraria 1.2.4)

Explaining RAM or Memory Usage in Terraria

The game requires a RAM of more than 215 MB to run smoothly. You can allocate more RAM to the game, and it will surely boost its performance considerably. Allocating memory is somewhat risky as hard disk space is valuable due to limited capacity. 

However, you should allocate more to your system to get better performance from the game, if not less than 4 GB of RAM. Memory allocation has nothing to do with the graphic card’s processing power; it only depends on how much free space there is in your system’s memory for a program likes Terraria.

For Terraria to match the requirements of your computer, then you need at least 2 GB of RAM available in your computer. If your machine already has 6GB or 8GB or 16 GB RAM, it is still possible to allocate some memory from the system’s hard drive to your Terraria. 

However, allocating more than 2 GB of memory will make you fall out of luck when trying to start the game on a 32-bit operating system.

Make The Software and hardware Changes

If your device falls short of the requirements, you need to change the software and hardware configurations. For example, allocate RAM from your system’s hard disk storage and make some changes to the graphics card as well. Check out our guides about best graphic cards.

Frequently Asked Questions

Which application can be used to Allocate More RAM to Terraria?

In Windows, go to All Programs > Accessories > System Tools and look for the Windows Resource Monitor. In the top right of that window, there’s a tab called “Resource Usage.” Click on that tab and scroll through all the processes shown on it. You can use this to Allocate More RAM to Terraria.

In OSX, utilities like Activity Monitor or even Terminal will let you see information about what your computer is doing. With these tools, you should be able to Allocate More RAM to Terraria.

For Android & iOS

Navigate to Settings » About Phone » Memory (the 6th option), where you Allocate More RAM to Terraria easily with just one tap! On iOS devices.

What are the advantages of Allocating more Ram to my computer?

Allocating more RAM will allow Terraria to store the game in memory, resulting in a smoother gameplay experience. Allocating more RAM will also reduce the frequency of lag spikes experienced while playing the game. Allocating more RAM is simple and easy – follow instructions from your device manufacturer on how to do this!

Is Terraria 8 bit or 16 bit?

Terraria is 8-bit. If Terraria is 8 bit, what does that mean? All 8-bit means is that there are only two colors, black and white pixels. All 16-bit means that four colors give a crisper graphical quality versus an 8 bit game with just two colors. 

All this ultimately boils down to resolution (how many pixels can fit on your screen). The more resolutions, the better for gamers! Thankfully Terraria falls within the status of being an “8-bit retro” style game which means it has a super cool old-school look with plenty of good detail work to make it modern looking as well!

Why is modded Terraria so laggy?

Modded Terraria may not be compatible with Allocator Allocation. In addition, the Java libraries that support Terraria are optimized for the Allocator Allocation, so some people experience a lag spike afterward.

Conclusion

Allocating more RAM to Terraria is easy and Allocator Allocation-compatible. If you are experiencing lag spikes with your modded game, try Allocating More RAM to the device using instructions from your manufacturer. For Allocated memory that isn’t compatible with Allocator Allocation, check out one of our many other articles on optimizing Java libraries for a smoother gaming experience!

Avatar of Muhammad Nadeem

I am a computer science graduate, and I love to play games. As an offline and online marketplace seller of computer hardware, I have the opportunity to help people make informed decisions about what they can use for their needs.