


Using MemPro with Unreal Engine
1. Add these two lines to your target.cs. For example ShooterGame.target.cs or (ShooterGameEditor.target.cs if you are building the editor)
BuildEnvironment = TargetBuildEnvironment.Unique;
GlobalDefinitions.Add("MEMPRO_ENABLED=1");
2. Add this to your command line arguments
-llm -execcmds="MemPro.LLMTag *, MemPro.Enabled 1"
3. Open MemPro and add your build path to the symbol paths, for example:
4. Build and run your game to generate a profile.
5. Stop the game and open the profile in MemPro.
The profile will be output in your Profiling folder, for example:
D:\UnrealEngine-4.26\ShooterGame\Saved\Profiling\MemPro\MemPro_2021.02.19-12.55.29.mempro_dump