Add memory profile plugin