Resolve incorrect memory totals caused by double-counting overlapping fields in /proc/meminfo by reading the MemTotal line directly.