changed format of check memory used in server.py