added a serial-port display of memory used