What is MEM in Heroes of the Storm statistics?
MEM stands for memory, which is the total amount of memory the game is currently using. You can check this number against that in the Task Manager.
The reason for the discrepancy in values is that the Task Manager updates slower than in-game, which is updated realtime.