MemPro
User Guide

Introduction
Quick Start
Setup
GUI
Toolbars
Side Panel
Output Window
Graph View
App Toolbar
Launch Dialog
Connect Dialog
Snapshot Toolbar
Snapshot
Full Snapshot
Snapshot Views
Call Tree View
Call Tree Grouping
Memory View
Functions View
Types View
Leaks View
Tools Toolbar
Subtract Snapshots
Rewind Memory
VMem View
Settings Toolbar
Symbol Paths Dialog
Settings
MemPro Unix/GCC
Using MemPro with Unreal Engine
FAQ
PureDev Logo MemPro logo
MemPro
C++ Memory Profiler
line

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:

MemPro symbol paths

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

© Copyright 2011 - 2013 Stewart Lynch