Unreal Engine Var console variable.
pcg.Cache.GraphCacheMaxElements [value]
Set via the console (~) or in DefaultEngine.ini / DefaultGame.ini.