# \#memory-management

**URL:** https://forums.unrealengine.com/tag/memory-management/7747.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [How to free memory used by imported resources](https://forums.unrealengine.com/t/how-to-free-memory-used-by-imported-resources/484639)

<div class="topic-metadata">

**Author:** [@HD0520](https://forums.unrealengine.com/u/HD0520)\
**Replies:** 4\
**Last updated:** [November 26, 2025, 4:04am UTC](https://forums.unrealengine.com/t/how-to-free-memory-used-by-imported-resources/484639 "2025-11-26T04:04:22Z")

</div>

I’m trying to build an automatic import tool using Editor Utility Widget to import a large number of resources, but the memory used by imported resources is never freed by the garbage collection, even though the resourc…

---

## [Why are Asset not GCed(RF\_StandAlone) by default in Editor ](https://forums.unrealengine.com/t/why-are-asset-not-gced-rf-standalone-by-default-in-editor/2641658)

<div class="topic-metadata">

**Author:** [@weizhi.deng](https://forums.unrealengine.com/u/weizhi.deng)\
**Replies:** 1\
**Last updated:** [August 25, 2025, 9:57am UTC](https://forums.unrealengine.com/t/why-are-asset-not-gced-rf-standalone-by-default-in-editor/2641658 "2025-08-25T09:57:10Z")

</div>

While investigating memory issues, I find that Unreal will not automatically unload/destroy “unused” Assets(like StaticMesh). I found such behaviours in these 2 cases: double clicking a static mesh asset in content bro…

---

## [Crash when restarting level out of memory](https://forums.unrealengine.com/t/crash-when-restarting-level-out-of-memory/2299691)

<div class="topic-metadata">

**Author:** [@AndrewFord](https://forums.unrealengine.com/u/AndrewFord)\
**Replies:** 4\
**Last updated:** [January 25, 2025, 11:27am UTC](https://forums.unrealengine.com/t/crash-when-restarting-level-out-of-memory/2299691 "2025-01-25T11:27:34Z")

</div>

Hello! My game has a memory overflow and crash every time I restart a level. When loading the level for the first time it consumes 6GB, if I try to load it again immediately, the memory goes to 8GB+. This happens on dif…

---

## [How to dispose UObject after using it in the editor.](https://forums.unrealengine.com/t/how-to-dispose-uobject-after-using-it-in-the-editor/487923)

<div class="topic-metadata">

**Author:** [@xXUnreal34Xx](https://forums.unrealengine.com/u/xXUnreal34Xx)\
**Replies:** 1\
**Last updated:** [May 15, 2025, 8:10pm UTC](https://forums.unrealengine.com/t/how-to-dispose-uobject-after-using-it-in-the-editor/487923 "2025-05-15T20:10:48Z")

</div>

Hello guys, I’m experiencing a lot of issues with the UE4 memory management system. I have a couple of C++ scripts in my editor to process StaticMesh such as : Generating LODs, Collision testing and more. I’m processing…

---

## [Troubles with Storage; taking up a lot of storage; location of files saved?](https://forums.unrealengine.com/t/troubles-with-storage-taking-up-a-lot-of-storage-location-of-files-saved/490134)

<div class="topic-metadata">

**Author:** [@primelord125](https://forums.unrealengine.com/u/primelord125)\
**Replies:** 2\
**Last updated:** [March 13, 2025, 3:47pm UTC](https://forums.unrealengine.com/t/troubles-with-storage-taking-up-a-lot-of-storage-location-of-files-saved/490134 "2025-03-13T15:47:29Z")

</div>

Hey there. Recently, I was doing a project on Unreal Engine. However, I accidently clicked ‘Save All’ instead of saving assets and the project to my external hard drive, and now my computer has about 15 GB left. I tried…

---

## [Inability to unload an object from memory](https://forums.unrealengine.com/t/inability-to-unload-an-object-from-memory/2385870)

<div class="topic-metadata">

**Author:** [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 4:00pm UTC](https://forums.unrealengine.com/t/inability-to-unload-an-object-from-memory/2385870 "2025-03-12T16:00:12Z")

</div>

Good afternoon/evening/morning. The more I learn about PDA and AssetManager, the faster I go crazy. Today I encountered a new problem: object (Primary Data Asset ) is not unloaded from memory. I run ForceGC and check …

---

## [Memory calculation Crash | No way to update map](https://forums.unrealengine.com/t/memory-calculation-crash-no-way-to-update-map/1782176)

<div class="topic-metadata">

**Author:** [@mimmo\_the\_root](https://forums.unrealengine.com/u/mimmo_the_root)\
**Replies:** 1\
**Last updated:** [May 12, 2024, 3:10pm UTC](https://forums.unrealengine.com/t/memory-calculation-crash-no-way-to-update-map/1782176 "2024-05-12T15:10:06Z")

</div>

Reference ID d1d60338-40f1-ea27-ccb6-85bba1f9261c Please select what you are reporting on: Unreal Editor for Fortnite What Type of Bug are you experiencing? Memory Summary Memory calculation break the session. No way …

---

## [TArray\<FColor\> backed by shared memory](https://forums.unrealengine.com/t/tarray-fcolor-backed-by-shared-memory/1764870)

<div class="topic-metadata">

**Author:** [@IAmNoBody2we](https://forums.unrealengine.com/u/IAmNoBody2we)\
**Replies:** 0\
**Last updated:** [March 21, 2024, 10:56am UTC](https://forums.unrealengine.com/t/tarray-fcolor-backed-by-shared-memory/1764870 "2024-03-21T10:56:46Z")

</div>

Hello I have the following code, it works well. TArray\<FColor\> PixelBuffer; RenderTargetResource-\>ReadPixels(PixelBuffer); // call a C API from .dll written in Rust. SendFrameFunc(PixelBuffer.Get…

---

## [\[Blocking\]: Memory calculation fault with generic error "connect lose"](https://forums.unrealengine.com/t/blocking-memory-calculation-fault-with-generic-error-connect-lose/1355999)

<div class="topic-metadata">

**Author:** [@mimmo\_the\_root](https://forums.unrealengine.com/u/mimmo_the_root)\
**Replies:** 0\
**Last updated:** [November 1, 2023, 3:41pm UTC](https://forums.unrealengine.com/t/blocking-memory-calculation-fault-with-generic-error-connect-lose/1355999 "2023-11-01T15:41:45Z")

</div>

Reference ID d980c363-452a-645e-ed6d-e8a9da78bec5 Please select what you are reporting on: Unreal Editor for Fortnite What Type of Bug are you experiencing? Memory Summary Memory calculation fault with generic error “…

---

## [26.30 Blocking. Memory calculation crash with network error](https://forums.unrealengine.com/t/26-30-blocking-memory-calculation-crash-with-network-error/1328795)

<div class="topic-metadata">

**Author:** [@mimmo\_the\_root](https://forums.unrealengine.com/u/mimmo_the_root)\
**Replies:** 0\
**Last updated:** [October 11, 2023, 12:21am UTC](https://forums.unrealengine.com/t/26-30-blocking-memory-calculation-crash-with-network-error/1328795 "2023-10-11T00:21:44Z")

</div>

Reference ID 6cb97eb5-44a2-b289-64ef-5992bea3f0e4 Please select what you are reporting on: Unreal Editor for Fortnite What Type of Bug are you experiencing? Memory Summary Memory calculation crash with error network (…

---

## [\[26.20\] CRITICAL - 0760-3163-4417 - Memory calculation failed with Error: UEngine::BroadcastNetworkFailure: FailureType = ConnectionTimeout, ErrorString = UNetConnection::Tick: Connection TIMED OUT.](https://forums.unrealengine.com/t/26-20-critical-0760-3163-4417-memory-calculation-failed-with-error-uengine-failuretype-connectiontimeout-errorstring-unetconnection-connection-timed-out/1313517)

<div class="topic-metadata">

**Author:** [@mimmo\_the\_root](https://forums.unrealengine.com/u/mimmo_the_root)\
**Replies:** 0\
**Last updated:** [September 27, 2023, 12:27am UTC](https://forums.unrealengine.com/t/26-20-critical-0760-3163-4417-memory-calculation-failed-with-error-uengine-failuretype-connectiontimeout-errorstring-unetconnection-connection-timed-out/1313517 "2023-09-27T00:27:41Z")

</div>

Reference ID 2a2e70b2-4305-c5e3-1bf0-8a869473d370 Please select what you are reporting on: Unreal Editor for Fortnite What Type of Bug are you experiencing? Project Size/Memory Summary I’m no more able to update my ma…

---

## [Problem when publishing the map (memory problem)](https://forums.unrealengine.com/t/problem-when-publishing-the-map-memory-problem/830499)

<div class="topic-metadata">

**Author:** [@Noroun](https://forums.unrealengine.com/u/Noroun)\
**Replies:** 1\
**Last updated:** [June 29, 2023, 9:54am UTC](https://forums.unrealengine.com/t/problem-when-publishing-the-map-memory-problem/830499 "2023-06-29T09:54:41Z")

</div>

Hi, I have a problem when publishing a map, when I transfer the map to UEFN, the memory increases by 50 thousand, thereby I cannot publish the map when in normal creative mode the memory takes 98.500. What is the reason …

---

## [Stripping unused LODs for static meshes doesn't seem to work](https://forums.unrealengine.com/t/stripping-unused-lods-for-static-meshes-doesnt-seem-to-work/471320)

<div class="topic-metadata">

**Author:** [@tomayz](https://forums.unrealengine.com/u/tomayz)\
**Replies:** 1\
**Last updated:** [April 27, 2023, 3:05am UTC](https://forums.unrealengine.com/t/stripping-unused-lods-for-static-meshes-doesnt-seem-to-work/471320 "2023-04-27T03:05:08Z")

</div>

I’m following this documentation page and according to it setting a minimum LOD for a platform should lower the memory size of a static mesh: While having multiple Level of Detail (LOD) Static Meshes can help lessen …

---

## [How resolve the \`Unresolved Allocations\` which is shown in MSVC for Memory Diagnostic?](https://forums.unrealengine.com/t/how-resolve-the-unresolved-allocations-which-is-shown-in-msvc-for-memory-diagnostic/757923)

<div class="topic-metadata">

**Author:** [@FLake2022](https://forums.unrealengine.com/u/FLake2022)\
**Replies:** 0\
**Last updated:** [January 27, 2023, 9:51am UTC](https://forums.unrealengine.com/t/how-resolve-the-unresolved-allocations-which-is-shown-in-msvc-for-memory-diagnostic/757923 "2023-01-27T09:51:32Z")

</div>

Hi all, I am trying to figure out memory leak in my game with MSVC plus UE 5.0. In ‘DebugGame’ configuration, most of memory is shown as unresolved allocations when I take a snapshot in VS. The DebugGame Edtior is as w…

---

## [How to properly null an 'Object' reference so it gets garbage collected? (Preferably in Blueprints)?](https://forums.unrealengine.com/t/how-to-properly-null-an-object-reference-so-it-gets-garbage-collected-preferably-in-blueprints/499002)

<div class="topic-metadata">

**Author:** [@SimpleAndComplex](https://forums.unrealengine.com/u/SimpleAndComplex)\
**Replies:** 0\
**Last updated:** [February 17, 2022, 6:38am UTC](https://forums.unrealengine.com/t/how-to-properly-null-an-object-reference-so-it-gets-garbage-collected-preferably-in-blueprints/499002 "2022-02-17T06:38:16Z")

</div>

I have an ‘Object’ derived class. I’m constructing an object from this class at runtime using ‘Construct Object from Class’ and storing it in a variable. The ‘Outer Object’ is an actor BP. Later when I need to destroy t…

---

## [Issues with VSCode and Unreal 4](https://forums.unrealengine.com/t/issues-with-vscode-and-unreal-4/480639)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1833eaca](https://forums.unrealengine.com/u/anonymous_user_1833eaca)\
**Replies:** 0\
**Last updated:** [March 21, 2021, 7:35pm UTC](https://forums.unrealengine.com/t/issues-with-vscode-and-unreal-4/480639 "2021-03-21T19:35:48Z")

</div>

Hello, my fellow intern for my software company is having problems working with Unreal Engine and VSCode. Whenever he runs the two together to work on a project, VSCode eats up 100% of his memory. Here’s what I know abou…

---

## [Object/Actor Architecture Question](https://forums.unrealengine.com/t/object-actor-architecture-question/479470)

<div class="topic-metadata">

**Author:** [@VacudaVacuda](https://forums.unrealengine.com/u/VacudaVacuda)\
**Replies:** 4\
**Last updated:** [February 27, 2021, 3:04pm UTC](https://forums.unrealengine.com/t/object-actor-architecture-question/479470 "2021-02-27T15:04:00Z")

</div>

Less than a year of experience, I have an architecture question. I have an actor, APiece. It will never be destroyed. However, I routinely create and destroy a representation of that object in my game, a static mesh. …

---

## [Dirty old UMG widget instances are returned by CreateWidget()](https://forums.unrealengine.com/t/dirty-old-umg-widget-instances-are-returned-by-createwidget/476637)

<div class="topic-metadata">

**Author:** [@Kafumanto](https://forums.unrealengine.com/u/Kafumanto)\
**Replies:** 2\
**Last updated:** [January 5, 2021, 3:25pm UTC](https://forums.unrealengine.com/t/dirty-old-umg-widget-instances-are-returned-by-createwidget/476637 "2021-01-05T15:25:21Z")

</div>

With UE4.26,a call to CreateWidget() can return an old “dismissed” instance of a UMG widget if the same name is used. The returned instance retains the old state of when it was supposedly “dismissed”. This was not happen…

---

## [Memory management in editor](https://forums.unrealengine.com/t/memory-management-in-editor/474187)

<div class="topic-metadata">

**Author:** [@eco\_bach2](https://forums.unrealengine.com/u/eco_bach2)\
**Replies:** 0\
**Last updated:** [November 9, 2020, 3:14am UTC](https://forums.unrealengine.com/t/memory-management-in-editor/474187 "2020-11-09T03:14:56Z")

</div>

My landscape simply disappears in the editor in Play mode. I thought this was simply a setting issue but a quick search shows this is a common memory related problem with many suggested solutions. A common solution seem…

---

## [Free memory in editor](https://forums.unrealengine.com/t/free-memory-in-editor/465312)

<div class="topic-metadata">

**Author:** [@Vahid](https://forums.unrealengine.com/u/Vahid)\
**Replies:** 0\
**Last updated:** [May 17, 2020, 1:28am UTC](https://forums.unrealengine.com/t/free-memory-in-editor/465312 "2020-05-17T01:28:32Z")

</div>

Hello, I’ve made a custom asset type and everything works perfectly thanks to UE4 amazing plugin features. I just found that after opening my assets in the editor the memory usage goes up which is normal, but when I cl…

---

## [How does the Unreal compiler handle references to container structs in memory?](https://forums.unrealengine.com/t/how-does-the-unreal-compiler-handle-references-to-container-structs-in-memory/463200)

<div class="topic-metadata">

**Author:** [@Goonix\_1](https://forums.unrealengine.com/u/Goonix_1)\
**Replies:** 0\
**Last updated:** [April 2, 2020, 11:08am UTC](https://forums.unrealengine.com/t/how-does-the-unreal-compiler-handle-references-to-container-structs-in-memory/463200 "2020-04-02T11:08:37Z")

</div>

I know this is a broad one, but let me explain. I’ve been trying to clean up my code and make it easier to write. I thought I’d use some references to some bigger structs I’ve been using. In my code I have a reference …

---

## [Getting a video memory error when moving landscape to new level](https://forums.unrealengine.com/t/getting-a-video-memory-error-when-moving-landscape-to-new-level/462069)

<div class="topic-metadata">

**Author:** [@ajbombadill](https://forums.unrealengine.com/u/ajbombadill)\
**Replies:** 1\
**Last updated:** [March 12, 2020, 10:15pm UTC](https://forums.unrealengine.com/t/getting-a-video-memory-error-when-moving-landscape-to-new-level/462069 "2020-03-12T22:15:33Z")

</div>

First my workstation specs: Dual Intel Xeon CPU’s E5-2650 v2 2.60 GHz, 196 Gb Kingston ECC Ram, NVIDIA EVGA 1080 Ti (11Gb VRAM), Windows 10 Pro 64 bit. UE4 optimized for maximum performance and memory allocation. I a…

---

## [Using operator new in Unreal Engine 4](https://forums.unrealengine.com/t/using-operator-new-in-unreal-engine-4/458277)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ed0d6fae1](https://forums.unrealengine.com/u/anonymous_user_ed0d6fae1)\
**Replies:** 0\
**Last updated:** [November 11, 2019, 10:26am UTC](https://forums.unrealengine.com/t/using-operator-new-in-unreal-engine-4/458277 "2019-11-11T10:26:43Z")

</div>

I have a map of objects and want to use TUniquePtr class to make sure that when map will be destroyed objects will be destroyed as well. Adding new objects to map looks like: class FCheckBoxHandler {...} ... handlers.Ad…

---

## [Why would LLM report all zeroes?](https://forums.unrealengine.com/t/why-would-llm-report-all-zeroes/415427)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_36c68e4a](https://forums.unrealengine.com/u/anonymous_user_36c68e4a)\
**Replies:** 3\
**Last updated:** [August 8, 2019, 3:08pm UTC](https://forums.unrealengine.com/t/why-would-llm-report-all-zeroes/415427 "2019-08-08T15:08:37Z")

</div>

I’ve trying to use the new memory tracking in 4.18, but using \[redacted\] on my PS4 Development build reports only a Tracked Total of 335Mb and zero for all else. I have breakpointed the tracking code and it seems to be l…

---

## [How to initialise UStaticMeshComponent\* through pointers?](https://forums.unrealengine.com/t/how-to-initialise-ustaticmeshcomponent-through-pointers/453124)

<div class="topic-metadata">

**Author:** [@Joshua\_Ellis](https://forums.unrealengine.com/u/Joshua_Ellis)\
**Replies:** 1\
**Last updated:** [July 31, 2019, 8:43am UTC](https://forums.unrealengine.com/t/how-to-initialise-ustaticmeshcomponent-through-pointers/453124 "2019-07-31T08:43:15Z")

</div>

Hi. I’m having an issue with implementing an architecture I want in regards to UStaticMeshes. My use case is to have arrays of data for voxels and have an array of UStaticMeshComponent pointers so I don’t have to have vo…

---

## [Does FORCE\_ANSI\_ALLOCATOR=1 works on Windows?](https://forums.unrealengine.com/t/does-force-ansi-allocator-1-works-on-windows/452727)

<div class="topic-metadata">

**Author:** [@mcleary](https://forums.unrealengine.com/u/mcleary)\
**Replies:** 0\
**Last updated:** [July 23, 2019, 8:11pm UTC](https://forums.unrealengine.com/t/does-force-ansi-allocator-1-works-on-windows/452727 "2019-07-23T20:11:30Z")

</div>

I am trying to use the FMallocAnsi on Windows by adding the following to my game module BuildEnvironment = TargetBuildEnvironment.Unique; GlobalDefinitions.Add("FORCE\_ANSI\_ALLOCATOR=1"); However, after building the eng…

---

## [When using the console command Obj Refs Name=Example I get the response Example is not currently reachable. How do I get this to work?](https://forums.unrealengine.com/t/when-using-the-console-command-obj-refs-name-example-i-get-the-response-example-is-not-currently-reachable-how-do-i-get-this-to-work/451605)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b04a730a](https://forums.unrealengine.com/u/anonymous_user_b04a730a)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 7:19pm UTC](https://forums.unrealengine.com/t/when-using-the-console-command-obj-refs-name-example-i-get-the-response-example-is-not-currently-reachable-how-do-i-get-this-to-work/451605 "2019-07-02T19:19:00Z")

</div>

When using the console command Obj Refs Name=Example I get the response Example is not currently reachable. How do I get this to work? I want to know which objects are holding onto some UAnimSequence objects which I woul…

---

## [\[C++\]Widgets and Force Garbage Collector](https://forums.unrealengine.com/t/c-widgets-and-force-garbage-collector/442532)

<div class="topic-metadata">

**Author:** [@evethir](https://forums.unrealengine.com/u/evethir)\
**Replies:** 4\
**Last updated:** [June 21, 2019, 7:58am UTC](https://forums.unrealengine.com/t/c-widgets-and-force-garbage-collector/442532 "2019-06-21T07:58:26Z")

</div>

Hi everybody! I’m working with widgets in C++ and I’m testing the garbage collector of the Engine. My scenario is that I’ve a pointer to a widget instance, at a certain point I need to destroy the widget: for what I’ve …

---

## [Visualisation Tool For memreport](https://forums.unrealengine.com/t/visualisation-tool-for-memreport/394450)

<div class="topic-metadata">

**Author:** [@Joshua\_NZ](https://forums.unrealengine.com/u/Joshua_NZ)\
**Replies:** 4\
**Last updated:** [May 20, 2019, 5:03pm UTC](https://forums.unrealengine.com/t/visualisation-tool-for-memreport/394450 "2019-05-20T17:03:32Z")

</div>

Hi, I was wondering if there was a Visualisation tool for the output of the command ‘memreport’? Similar to the net profiler. Cheers EDIT: Adding true to the Engine\\Saved\\UnrealBuildTool\\BuildConfiguration.xml allowe…

---

## [How to properly unstream and remove a ULevelStreaming from the world?](https://forums.unrealengine.com/t/how-to-properly-unstream-and-remove-a-ulevelstreaming-from-the-world/343470)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ea3cf6531](https://forums.unrealengine.com/u/anonymous_user_ea3cf6531)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 9:31am UTC](https://forums.unrealengine.com/t/how-to-properly-unstream-and-remove-a-ulevelstreaming-from-the-world/343470 "2019-05-09T09:31:51Z")

</div>

For example, once you stream in a level like so : ULevelStreamingKismet\* StreamingLevel = NewObject\<ULevelStreamingKismet\>((UObject\*)GetTransientPackage(), ULevelStreamingKismet::StaticClass()); // more stuff Stre…

[Next page](https://forums.unrealengine.com/tag/memory-management/7747.md?match_all_tags=true&page=1&tags%5B%5D=memory-management)
