[Discuss] Limiting amount of memory

Bill Bogstad bogstad at pobox.com
Fri Sep 13 19:15:59 EDT 2013


On Fri, Sep 13, 2013 at 12:12 PM, Tim Callaghan <tmcallaghan at gmail.com> wrote:
> Ugh, this is frustrating.  I asked for 8192M (8G), but ended up with 5.79G.
>
> *I booted using this section from /etc/grub.conf:*
>
> title CentOS (2.6.18-348.3.1.el5) 8G
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.18-348.3.1.el5 ro root=LABEL=/ mem=8192M
> initrd /boot/initrd-2.6.18-348.3.1.el5.img
>
> *and here is what I get from "cat /proc/meminfo"*
>
> [root at lex6 ~]# cat /proc/meminfo
> MemTotal:      6077760 kB

I think you should do a reboot, capture the output of dmesg ("dmesg >
foo"), and  see what the kernel is saying about memory.

Bill Bogstad



More information about the Discuss mailing list