# How to enable memory profile in unreal insight of ue5?

**URL:** <https://forums.unrealengine.com/t/how-to-enable-memory-profile-in-unreal-insight-of-ue5/597255>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [July 5, 2022, 3:25am UTC](https://forums.unrealengine.com/t/how-to-enable-memory-profile-in-unreal-insight-of-ue5/597255 "2022-07-05T03:25:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b705b94b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b705b94b](https://forums.unrealengine.com/u/anonymous_user_b705b94b)\
**Post date:** [July 5, 2022, 3:25am UTC](https://forums.unrealengine.com/t/how-to-enable-memory-profile-in-unreal-insight-of-ue5/597255/1 "2022-07-05T03:25:39Z")

</div>

how to enable memory profile in unreal insight of ue5? thanks very much for your answer!

---

<div class="post-metadata">

**Author:** ![uc\_ue2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@uc\_ue2](https://forums.unrealengine.com/u/uc_ue2)\
**Post date:** [July 5, 2022, 2:38pm UTC](https://forums.unrealengine.com/t/how-to-enable-memory-profile-in-unreal-insight-of-ue5/597255/2 "2022-07-05T14:38:24Z")

</div>

In my case it didn’t work as the documentation suggested with writing -trace=memory in an shortcut to a project but it works if I put it to …UnrealEditor.exe -trace=memory .  
In insights you should then find the option Memory insights not greyed out

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/2/f62853210185f1fcb337f1e34eeae1277d2fe4d7.png)  
To verify in your insights session tab:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/e/35e192b6d9f91fe7015b5efe41da0007d561996d.png)  
And additionally in the log:

```auto
Cmd: trace.enable memory
LogConsoleResponse: Display: Enabled channels: Module,MemAlloc,Callstack,MemTag,
Cmd: trace.status
LogConsoleResponse: Display: Trace status ----------------------------------------------------------
LogConsoleResponse: Display: - Connection: Tracing to '127.0.0.1'
LogConsoleResponse: Display: - Memory used: 19.63 MiB
LogConsoleResponse: Display: - Important Events cache: 0.19 MiB (0.16 MiB used + 0.03 MiB unused | 0.00 MiB waste)
LogConsoleResponse: Display: - Sent: 475.66 MiB
LogConsoleResponse: Display: - Enabled channels: Module, MemAlloc, Callstack, MemTag
LogConsoleResponse: Display: - Available channels: Messaging, Niagara, VisualLogger, Object, 
    Animation, Physics, RenderCommands, RDG, Net, RHICommands, Gpu, Slate, SaveTime, Stats, 
    AssetLoadTime, LoadTime, File, StackSampling, ContextSwitch, Screenshot, Bookmark, Frame, 
    Metadata, Cpu, Counters, Cook, AssetMetadata, Log, Task
LogConsoleResponse: Display: -----------------------------------------------------------------------

```

As reference the documentation:

> **[Memory Insights](https://docs.unrealengine.com/5.0/en-US/memory-insights-in-unreal-engine/)**
>
> An Overview of Memory Insights

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b705b94b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b705b94b](https://forums.unrealengine.com/u/anonymous_user_b705b94b)\
**Post date:** [July 6, 2022, 3:00am UTC](https://forums.unrealengine.com/t/how-to-enable-memory-profile-in-unreal-insight-of-ue5/597255/3 "2022-07-06T03:00:54Z")

</div>

> [@uc\_ue2](#):
>
> trace=memory

Nice! It works ! Thanks very much!

---

<div class="post-metadata">

**Author:** ![JT\_Mitchell\_DGG1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JT\_Mitchell\_DGG1](https://forums.unrealengine.com/u/JT_Mitchell_DGG1)\
**Post date:** [January 15, 2024, 5:49pm UTC](https://forums.unrealengine.com/t/how-to-enable-memory-profile-in-unreal-insight-of-ue5/597255/4 "2024-01-15T17:49:03Z")

</div>

Thank you uc\_ue!!!

To save the next person that comes along a little time here is a shell script that can get you started a little faster. It forks off a child process so you only have to click one button to run both commands:

(Don’t forget to change the directory locations if you have them somewhere different, and save the file as a shell script.)

```auto
#!/bin/bash

"/c/Program Files/Epic Games/UE_5.0/Engine/Binaries/Win64/UnrealInsights.exe" -trace=default,memory &
"/c/Program Files/Epic Games/UE_5.0/Engine/Binaries/Win64/UnrealEditor.exe" -trace=default,memory

```

---

<div class="post-metadata">

**Author:** ![Moolymax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moolymax/32/703760_2.png) [@Moolymax](https://forums.unrealengine.com/u/Moolymax)\
**Post date:** [December 27, 2024, 8:32am UTC](https://forums.unrealengine.com/t/how-to-enable-memory-profile-in-unreal-insight-of-ue5/597255/5 "2024-12-27T08:32:37Z")

</div>

ues  
-trace=default,memory  
or  
-trace=default,memalloc  
as parameters to start your project

---

<div class="post-metadata">

**Author:** ![qiuter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qiuter/32/769712_2.png) [@qiuter](https://forums.unrealengine.com/u/qiuter)\
**Post date:** [August 19, 2025, 1:08am UTC](https://forums.unrealengine.com/t/how-to-enable-memory-profile-in-unreal-insight-of-ue5/597255/6 "2025-08-19T01:08:12Z")

</div>

Can Unreal Engine 4.27 use the MemoryInsights tool? If it can, what are the startup parameters
