add callable getmemoryusage function to included plugins