/Engine/Source/Runtime/Core/Public/Misc/MemStack.h
FMemMarkmarks a top-of-stack position in the memory stack. When the marker is constructed or initialized with a particular memory stack, it saves the stack's current position. When marker is popped, it pops all items that were added to the stack subsequent to initialization.
class FMemMark