Online Recording in MemReplay

Overview

This article will explain how to connect the MemReplay Tool to a running process called Online Recording.

Online Recording of Memory Information

Make sure you are using a Profile build. Debug builds don't always redefine new/malloc.

Please make sure to have setup the MemReplay tool as described in Setup and Loading data with MemReplay Tool before you continue. In addition to capturing logs to disk, MemReplay also supports capturing the data over the network. This can save a lot of time due to the less copying of logs, and by parallelizing indexing and symbol resolution as the log is captured.

To set this up, first find your ip address by running ipconfig at a command line. Then start MemReplay, and select File -> Capture Log from the menu. Select a file to capture.

Finally, start the game with the following command line:

-memreplay socket:<your ip address>

All being well, the capture dialog's progress bars should start updating as the log is grabbed.

To stop capturing run memReplayStop at the in game console at any time. If the game crashes MemReplay will timeout after 5 minutes.

Online Recording on Xbox One

Xbox One does not yet support call stack information for Online Recording. However, Getting Started with MemReplay describes how symbols can be dumped for Xbox One. This .dmp file can be applied to online recorded zmrl files.

  1. After Online Recording has finished close MemReplay.
  2. Create a .dmp file and make sure it is available locally.
  3. Delete the .zmrl.sym file located in the same folder where your .zmrl file resides.
  4. Open MemReplay and load the zmrl file.
  5. MemReplay will ask you to locate the .dmp file.