That’s rather odd… Both that Virtualmin is so off for “total memory”, and your “free” output looks strange too. “cached” should never be higher than “used”, because “used” includes “cached”. What distribution are you using there? For me (Ubuntu 12.04 x64), the “free” output looks like so:
Generally, Virtualmin’s “used” display is “used minus cached” in free, because memory used as file system cache is “semi-free”, i.e. it can be assigned to applications at any time.
EDIT: Sorry, I got confused by your linebreak-less output! I overlooked that your shared, buffers and cached is all at 0.
So yeah, Virtualmin indeed seems to be detecting the memory completely wrong there. WHat happens when you click the “Refresh information” link on top of the page? I’m not sure which command Webmin uses to determine memory stats, I suppose Eric or Jamie could fill us in there.