Keep track of each plugin memory usage.

Signed-off-by: Wolftein <agustin.l.alvarez@hotmail.com>