Getting memory statistics of remote device