5

I understand that Raspberry Pi boots from an SD card. What is the minimum amount of memory required by Raspberry Pi to run smoothly?

1
  • depends on what you are going to use it for. I have Xbian running smoothly with a 1GB micro sd card (I store the xbmc database on another device over the network). But if you prepfer another OS you will need at least a 2GB sd card.
    – stackErr
    Jul 18, 2013 at 14:25

3 Answers 3

6

The Pi's memory cannot be increased beyond the 256mb or 512mb that board comes with. This memory can be split differently between the CPU and GPU. More info on the memory split options can be found on the elinux site, or by doing a search here for memory split.

The SD card is analogous to a hard drive. At a minimum you will need a 4gb SD card. However, you will be better of using something larger. Note that the Pi can only use up to a 32gb card and not all cards will work. You can find a list of cards known to work here (http://elinux.org/RPi_SD_cards). There are a handful of cards known to work that are larger or smaller than my recommendations, but these are exceptions rather than the rule. The smaller cards will not provide much space for additional programs etc., and the larger cards can easily cost as much as the Pi itself.

2
  • I have a Moserbaer 8 GB memory card of class 4. It is not listed in the working SD cards list in the website you have suggested. Will it work with a model B Raspberry pi? Jul 11, 2013 at 18:43
  • 1
    I have no way to know for sure, but if forced to guess - I would say it will most likely work. If it is not listed as a working card. It may just be that no one has updated the list for your particular card. The only advice I can offer is try it, if it works, add it to the list of known working cards to help others who may have the same question. Jul 11, 2013 at 18:46
2

Smallest supported SD card size is usually listed on the web site you get your software distribution from. Basically, most of the contemporary distributions, Raspbian and plenty of xmbc-flavored ones require 2GB SD card, with the the only exception -- Gingerbread based Android being and just a tad bigger than 2GB, thus requiring 4GB card.

Personally, I have used 2GB card for quite a long time without any problems, however, it's usually recommended to go for a bigger (8GB, 16GB) card to significantly lower wear-off levels and increase the SD card life time.

4
  • 2GB is the smallest. Very limited space though, even just for upgrading the basic system it can struggle
    – moo
    Mar 7, 2021 at 21:32
  • Thank you @Mark, that answer was written 8 years ago, a lot of things have changed since then. Nowadays I'd recommend to spring for 32G -- these are cheap and plenty.
    – lenik
    Mar 8, 2021 at 9:17
  • Answer is old but still valid. I've just managed to get Raspberry Pi OS running on a 2GB card but it's tight - I run out of space when I try to upgrade any large packages. Agree, space is cheap now.
    – moo
    Mar 8, 2021 at 14:07
  • 1
    @Mark even with wear levelling, if you have just a little empty space on your card, it will die relatively quickly from the same places being overwritten again and again, I'd recommend to get a larger size just to make sure there's a lot of space and it will stay alive and well much longer.
    – lenik
    Mar 10, 2021 at 9:13
1

Raspberry pi performance isn't dependent on SD card size. With typical hard drive you could use it to extend virtual memory by creating swap partition, which could speed up things in some cases, but not so much with slow storage as SD card.

So the main performance factor of the SD card is it's speed which is generalized by SD class https://en.wikipedia.org/wiki/Secure_Digital#Speed_Class_Rating . Of course you are much better of buying properly benchmarked SD card ( http://elinux.org/RPi_SD_cards#SD_card_performance ) than by looking at producer claims/inaccurate class rating.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.