Added more memory statistics for the mbed arch