First of all, it depends on how you determine the memory leak. Usually, I consider any case where memory has been allocated, but no pointers / links remain in it as a memory leak, and not just cases where the application constantly allocates memory without releasing it. (and you probably need a different definition if there is a GC)
This definition does not, it is impossible to see all memory leaks through the task manager, since the process may not return all the memory to the OS after its release by the program, so you will not necessarily see all positive or negative changes in memory usage.
However, any process that constantly copies memory really looks suspicious.
source share