MemoryLeak detection does not work in UE 5.4.3

So, I have an UObject that I use in a heavy loop (over 1M iterations), this UObject has a pointer to a struct, lets call it FMyData *myPointer. Every iteration this pointer is allocated with new. And I noticed that UE was leaking 1Gb of memory every 10k iterations or so.

I’ve ran memreport and the leak detection tool, I didn’t get any leak reported.

So, I’ve began debugging manualy by commenting out parts of the code, and it turned out that every iteration I call a function called Initialize() on the UObject that sets myPointer=nullptr; So I found the leak issue but I’m posting it here because I don’t find normal that the leak report said that nothing was leaking when there was an obvious leak here.

For the record I followed this link to activate the memory leak report: https://www.unrealengine.com/de/tech-blog/dealing-with-memory-leaks-in-ue4.

If additional info is needed, the new is called in a FAutoDeleteAsyncTask object but the UObject itself belongs to a parent UObject (which is starting the task).