This article will explain how to collect memory information from a running CRYENGINE game.
Chapters:
Make sure you are using a Profile build. Debug builds don't always redefine new/malloc.
Run the game with -memreplay in your arguments list.
MemReplay is now tracking every allocation/free call and streams it into a memlog-date-time.zmrl file. See table below for file location (depending on platform type):
Platform | Folder |
---|---|
PC |
|
Xbox One | Game root on console |
PS4 | Data folder on console |
MemReplay can be stopped manually by calling the console command memReplayStop. This will flush the remaining information to the disc.
The Xbox One platform requires some extra steps to get a valid call stack: