This handy tool might help decipher /proc/user_beancounters better:
--edit--
Are you sure this isn't the reason ? I notice a massive difference between a minimal Ubuntu build and a Debian build ... Debian doesn't grab all the memory: Linux ate my RAM !