# CRASHING Out of Video memory allocating a texture

**URL:** <https://forums.unrealengine.com/t/crashing-out-of-video-memory-allocating-a-texture/792000>\
**Category:** Rendering\
**Tags:** bug, unreal-engine, crash, memory, bug-report, Blueprint, question\
**Created:** [March 16, 2023, 9:32am UTC](https://forums.unrealengine.com/t/crashing-out-of-video-memory-allocating-a-texture/792000 "2023-03-16T09:32:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AquaRex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AquaRex](https://forums.unrealengine.com/u/AquaRex)\
**Post date:** [March 16, 2023, 9:32am UTC](https://forums.unrealengine.com/t/crashing-out-of-video-memory-allocating-a-texture/792000/1 "2023-03-16T09:32:18Z")

</div>

So Unreal is crashing every 10 minutes or so, most commonly after PIE(play in editor) for my VR game. The crash makes no sense as I absolutely have plenty of Video Memory.  
No other major programs are running in the background and the GPU has plenty of memory left when the crash occurs.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/f/55f684add5c203d16ece20b6c3ed414e2d5adc2a.png)

As you can see, Unreal is using just above 2048Mb of ( assuming video memory ) which would correlate well to taskmanager’s numbers of current usage.

My specs:

Intel Core i9-10850K  
32 GB RAM  
Nvidia RTX 4090 ( 24GB VRAM )

I see no indication that Unreal is actually out of video memory, and I see no reason Unreal should think that it is. So why this is happening is beyond me at this point.

Here is a screenshot from Task Manager, here you can also see its not nearly hitting the limit.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/6/6a6162599f45b4482b8c75e0ca9bbcf3f4142b71.png)

---

<div class="post-metadata">

**Author:** ![Quetzalcodename](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quetzalcodename](https://forums.unrealengine.com/u/Quetzalcodename)\
**Post date:** [March 16, 2023, 9:45am UTC](https://forums.unrealengine.com/t/crashing-out-of-video-memory-allocating-a-texture/792000/2 "2023-03-16T09:45:06Z")

</div>

Hey @AquaRex!

Have you verified your installation of UE and checked your Nvidia settings? You may need to do a reset on your global settings if there is a possibility UE is trying to use built in graphics instead of your graphics card.

In the meantime, check out this thread that may have a possible solution to the problem you are currently facing:

> [@Out of video memory trying to allocate a texture](https://forums.unrealengine.com/t/out-of-video-memory-trying-to-allocate-a-texture/82143/15):
>
> I stumbled upon this thread, and then found a fix that worked for me on a reddit thread: [https://www.reddit.com/r/unrealengin…to\_allocate\_a/](https://www.reddit.com/r/unrealengine/comments/72xt9o/out_of_video_memory_trying_to_allocate_a/) changing the paging file size as described in this link to a size the same as my graphics card’s video memory fixed this issue for me: [https://www.thewindowsclub.com/incre…memory-windows](https://www.thewindowsclub.com/increase-page-file-size-virtual-memory-windows) Thought I’d post back here in case it helps someone else sincce it looks like i’ve been unecessarily living with this issue for the last year. Mine was set to 3g. Sett…

---

<div class="post-metadata">

**Author:** ![AquaRex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AquaRex](https://forums.unrealengine.com/u/AquaRex)\
**Post date:** [March 16, 2023, 1:47pm UTC](https://forums.unrealengine.com/t/crashing-out-of-video-memory-allocating-a-texture/792000/4 "2023-03-16T13:47:49Z")

</div>

> [@Quetzalcodename](#):
>
> Hey @AquaRex!
> 
> Have you verified your installation of UE and checked your Nvidia settings? You may need to do a reset on your global settings if there is a possibility UE is trying to use built in graphics instead of your graphics card.
> 
> In the meantime, check out this thread that may have a possible solution to the problem you are currently facing:
> 
> [Out of video memory trying to allocate a texture - #15 by MagicBots](https://forums.unrealengine.com/t/out-of-video-memory-trying-to-allocate-a-texture/82143/15)

Thanks for the quick response!  
It is putting load on the GPU so I don’t think Unreal is trying to use build in graphics.  
However, following the post you said, **I increased the Pagefile size, this solved the issue.**

So it seems to me Unreal is falsly reporting “Out of video memory” when in reality it’s maxed out the pagefile size.

This error message should be changed to reflect what is actually wrong, instead of sending people on a merry chase thinking something else is causing the issue than what is actually causing the issue.

---

<div class="post-metadata">

**Author:** ![ALAN50651](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ALAN50651](https://forums.unrealengine.com/u/ALAN50651)\
**Post date:** [May 4, 2023, 8:21am UTC](https://forums.unrealengine.com/t/crashing-out-of-video-memory-allocating-a-texture/792000/5 "2023-05-04T08:21:50Z")

</div>

Thank you very much, It worked for me : D

---

<div class="post-metadata">

**Author:** ![Nevets](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nevets/32/1068924_2.png) [@Nevets](https://forums.unrealengine.com/u/Nevets)\
**Post date:** [October 1, 2023, 2:21pm UTC](https://forums.unrealengine.com/t/crashing-out-of-video-memory-allocating-a-texture/792000/6 "2023-10-01T14:21:22Z")

</div>

I recently have samiliar issue, mine is 13900k + 4090, seems to be a bad combination some how. But I kinda found a work around, goto Intel website and download “Extreme Tuning Ulitily”, then set p-core and e-core down a little bit, and the crashes and blue screens never showed again. Worked for me. Just give it a try.

---

<div class="post-metadata">

**Author:** ![Enfarious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Enfarious](https://forums.unrealengine.com/u/Enfarious)\
**Post date:** [August 10, 2024, 12:03pm UTC](https://forums.unrealengine.com/t/crashing-out-of-video-memory-allocating-a-texture/792000/7 "2024-08-10T12:03:45Z")

</div>

That this error [message] hasn’t been addressed in well over a year makes me sad. I’m glad I found this thread though as it saved me some of my remaining hair.

I never would have thought to increase my pagefile size from this error message. Especially since task manager is showing 8/20GB used for GPU RAM and 12/16 used for Shared RAM. Never occurred to me that pagefile was full cause who would think of that?

---

<div class="post-metadata">

**Author:** ![Killercole07](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Killercole07](https://forums.unrealengine.com/u/Killercole07)\
**Post date:** [September 29, 2024, 1:08pm UTC](https://forums.unrealengine.com/t/crashing-out-of-video-memory-allocating-a-texture/792000/8 "2024-09-29T13:08:07Z")

</div>

Hey neVez I’m having the same exact issue on unreal engine games with the same specs 13900K and 4090 24 VRAM. I tried doing what you recommended and it sent me to BIOS and was holding me hostage. Thankfully I managed to undo it in BIOS but what did you set yours to for it to stop crashing? I feel I may have taken a wrong turn somewhere.
