Unreal Engine Cmd console variable.
gc.HistorySize
Execute via the console (~). This is a command, not a variable.