add get_memory_info.py script