doodom
Posts: 8
Joined: Tue Oct 23, 2012 9:25 pm

Trouble with total memory on Debian

Tue Oct 23, 2012 9:35 pm

Hi, today I got my new Raspberry Pi which is supposed to have 512 mb of ram. But after installing debian wheezy and looking out the available memory using the "free -m" command it says it just has 184 mb of ram, which is more near from 256 mb of ram than from 512 mb.

Code: Select all

pi@raspberrypi ~ $ free -h
             total       used       free     shared    buffers     cached
Mem:          184M       159M        25M         0B       6,0M        72M
-/+ buffers/cache:        80M       104M
Swap:          99M       480K        99M
Why does this happen? Is there any way to fix it without reinstalling debian all over again? I'm pretty sure my pi has 512 mb of ram because it has 4G written over the memory chip.

doodom
Posts: 8
Joined: Tue Oct 23, 2012 9:25 pm

Re: Trouble with total memory on Debian

Tue Oct 23, 2012 10:52 pm

Nevermind, I fixed my problem following these instructions (very helpful, by the way):
http://www.raspberrypi.org/phpBB3/viewt ... 67#p199767

After this I just had one question. If I set gpu_mem_512 to 38 on /boot/config.txt, why when I reboot I have 464 mb of ram available instead of 474 mb of ram (512-38=474). Where do these additional 10 mb of ram go?

Return to “Troubleshooting”