Unrealistic memory usage

My C solution for ATM shows 5.4 megs of memory usage. This seems like way too much to me. How is it counted?