It doesnt actually prevent memory leaks. I've decompiled and took a look at its code.
What it does it monitor memory and cpu usage, if exceeded, log (console) and runns System.gc(), which suggests a garbage collection to the JVM. That can actually cause MORE cpu cycles to be consumed than necessary.