If the memory isn't owned by the OS, that's probably the wrong actor to manage it.
They say that, instead, they used an undocumented API they obviously didn't understand. Why? If you are concerned about using up too much memory, then do something about it