# Why is the Nanite VRAM Cache hardcoded to NVIDIA 2GB vs AMD 4GB?  

**URL:** <https://forums.unrealengine.com/t/why-is-the-nanite-vram-cache-hardcoded-to-nvidia-2gb-vs-amd-4gb/2663342>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, Nanite, question, CPP\
**Created:** [October 8, 2025, 3:02pm UTC](https://forums.unrealengine.com/t/why-is-the-nanite-vram-cache-hardcoded-to-nvidia-2gb-vs-amd-4gb/2663342 "2025-10-08T15:02:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salcoj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Salcoj](https://forums.unrealengine.com/u/Salcoj)\
**Post date:** [October 8, 2025, 3:02pm UTC](https://forums.unrealengine.com/t/why-is-the-nanite-vram-cache-hardcoded-to-nvidia-2gb-vs-amd-4gb/2663342/1 "2025-10-08T15:02:50Z")

</div>

Hi!

I recently fought with high VRAM usage. Weirdly, my nvidia PC uses 6GB VRAM while the AMD PC uses 8GB. While investigating using the resource viewer tool, I got interested in the Nanite ClusterPageData buffer. I couldn’t reduce it by CVAR so I took a look into the engine code.

UE allocates 4GB by default on AMD cards instead of 2GB everywhere else.

Now I am just wondering. Why is this hardcoded and why do AMD cards get 2GB VRAM per default more?  
Not saying that this is wrong. But I would like to gain insight to the reasoning for this.

NaniteStreamingManager.cpp on UE5.6:

 ![why-is-the-nanite-vram-cache-hardcoded-to-nvidia-2gb-vs-amd-v0-cootsxvunvtf1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/3/ab34f4ce82ee7b3bb52eefba3be2cb4949169648.webp)

---

<div class="post-metadata">

**Author:** ![WayAway](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WayAway](https://forums.unrealengine.com/u/WayAway)\
**Post date:** [October 9, 2025, 12:07pm UTC](https://forums.unrealengine.com/t/why-is-the-nanite-vram-cache-hardcoded-to-nvidia-2gb-vs-amd-4gb/2663342/2 "2025-10-09T12:07:51Z")

</div>

Have no idea why 2 vs 4 gb, but when i try to get answers for something like this i usually just go to UE github and look for related commits history.

These lines were added in this commit in UE5.4 : [https://github.com/EpicGames/UnrealEngine/commit/bccf39e9bcd4c8a3afd05fefaa9acfc7511481ab](https://github.com/EpicGames/UnrealEngine/commit/bccf39e9bcd4c8a3afd05fefaa9acfc7511481ab)

**“Implemented support for Nanite streaming pool larger than 2GB when it is supported by the hardware.”**

In UE 5.7 it was changed a bit because of VulkanRHI implementation with a comment **“VulkanRHI: Make sure the Nanite Streaming Manager doesn’t allocate a buffer beyond the device’s limits.”**

So i guess it’s just a hardware thing and AMD somehow can support more than 2 gb while others can’t, otherwise epic wouldn’t add that.

[https://github.com/EpicGames/UnrealEngine/commit/732f00d844ac50860d0b6fc630ea980b82de1e19](https://github.com/EpicGames/UnrealEngine/commit/732f00d844ac50860d0b6fc630ea980b82de1e19)

And in UE 5.5 there was this commit :

[https://github.com/EpicGames/UnrealEngine/commit/c5b2ebada8b850a6780297fa907b0562c665b2b1](https://github.com/EpicGames/UnrealEngine/commit/c5b2ebada8b850a6780297fa907b0562c665b2b1)

**“Added the ability to resize the Nanite streaming pool dynamically using r.Nanite.Streaming.StreamingPoolSize.**

**Added command to reset the streaming pool state, so all streaming data will be loaded again (r.Nanite.Streaming.ResetStreamingPool).”**

And description of **r.Nanite.Streaming.StreamingPoolSize** Cvar was changed by adding this line at the end "Size of streaming pool in MB. Does not include memory used for root pages. **Be careful with setting this close to the GPU resource size limit (typically 2-4GB) as root pages are allocated from the same physical buffer.”**

So i would play around wih “r.Nanite.Streaming.StreamingPoolSize”, “r.Nanite.Streaming.NumInitialRootPages”, etc to see what can reduce it / fit better for your use case.

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [April 20, 2026, 10:01pm UTC](https://forums.unrealengine.com/t/why-is-the-nanite-vram-cache-hardcoded-to-nvidia-2gb-vs-amd-4gb/2663342/3 "2026-04-20T22:01:49Z")

</div>

I would also really like to understand why this limit exists. What is the actual reason for why someone playing a game on a RTX 5090 with 32 GB VRAM can never have more than 2 GB nanite mesh data in VRAM?
