Update check_mem.py

update output freemem with unit