Hey there friends,
I am trying to track down an intermittent memory leak that eventually saturates the entire machine and causes an out of memory error. I’m guessing it’s some kind of blueprint badness that is preventing garbage collection or infinitely spawning things, but I don’t know for sure. I don’t have a good repro, but of course my designers and artists are pros at getting to happen for them when I am not around to quickly get a profile. Anyways, my goal is to establish a high water mark, some known memory usage number that I know to be bad, like 10 Gb, and once that mark is passed, to output a memreport or some similar type of memory usage dump so I can at least begin to narrow down what is going on.
Any leads on where the best place to insert such a snippet of code in the engine to accomplish this? Or is a feature like this already in place and I just don’t know about it? I am not super familiar with the lower levels of UE4 such as allocation stuff so any help appreciated. Cheers