Raspberry Pi 4 B: How Much RAM Do You Really Need? (2024)

Raspberry Pi 4 B: How Much RAM Do You Really Need? (1)

The Raspberry Pi 4 Model B single-board computer launched last year in three variants, the first time the family had been broken into more than one variant per model: An entry-level version with 1GB of RAM, designed to hit the increasingly-challenging and shrinking-through-inflation $35 target price point; a more expensive 2GB version, designed as to the go-to model; and a 4GB variant for power users.

In the months since, the Raspberry Pi team has had a rethink: The 1GB model has been retired, while the 2GB model has been moved down to the headline-grabbing $35 entry point. Now the 4GB sits in the middle, with a brand-new Raspberry Pi 4 8GB model taking the top spot - but how much RAM does a single-board computer really need?

Why Now?

“The 8GB model is about wanting to provide a platform for power users, and wanting to do that just as soon as the technology is ready,” Raspberry Pi Trading chief executive Eben Upton tells us in an interview on the subject. “We're launching this product absolutely as soon as we can - there's no synthetic delay in this product. If we could have launched this product on day one, we would have done. But it, the technology just wasn't there yet.”

The technology in question: A single-package 64Gb DRAM module, allowing the same board design which supported up to 4GB to expand to 8GB. That’s as far as the Raspberry Pi 4 is likely to go, at least for the foreseeable future: “There's an SoC [System-on-Chip] upper limit, which is 16GB,” Upton explains. “There really, really isn't a 16GB package that we could use, or a way to use a pair of packages, so I think this is probably the end of the road for Raspberry Pi 4 in terms of memory capacity.

“You know, when we launched last year this 8GB package didn't exist, but we sort of suspected it might come to exist. The ones we're using are literally some of the first off the line. This really is a brand-new, shiny memory technology.”

The Options

The table below outlines the three models which make up the Raspberry Pi 4 family, revealing the big secret: There’s effectively no difference bar the memory capacity on offer. You won’t even find a difference in weight or power needs.

Swipe to scroll horizontally

SpecRaspberry Pi 4 B 2GBRaspberry Pi 4 B 4GBRaspberry Pi 4 B 8GB
CPU1.5-GHz, Quad-Core Broadcom BCM2711 (Cortex A-72)1.5-GHz, Quad-Core Broadcom BCM2711 (Cortex A-72)1.5-GHz, Quad-Core Broadcom BCM2711 (Cortex A-72)
RAM2GB (16Gb) LPDDR44GB (32Gb) LPDDR48GB (64Gb) LPDDR4
GPU500MHz VideoCore-VI500MHz VideoCore-VI500MHz VideoCore-VI
Video Out2x Micro-HDMI2x Micro-HDMI2x Micro-HDMI
Max Resolution4K60 + 1080p or 2x 4K304K60 + 1080p or 2x 4K304K60 + 1080p or 2x 4K30
USB Ports2x USB 3.0, 2x USB 2.02x USB 3.0, 2x USB 2.02x USB 3.0, 2x USB 2.0
Wired Networking1x Gigabit Ethernet1x Gigabit Ethernet1x Gigabit Ethernet
Wireless802.11ac (2.4/5GHz), Bluetooth 5.0802.11ac (2.4/5GHz), Bluetooth 5.0802.11ac (2.4/5GHz), Bluetooth 5.0
Power InputUSB Type-CUSB Type-CUSB Type-C
Power Requirement5V 3A5V 3A5V 3A
Size3.5 x 2.3 x 0.76 inches (88 x 58 x 19.5mm)3.5 x 2.3 x 0.76 inches (88 x 58 x 19.5mm)3.5 x 2.3 x 0.76 inches (88 x 58 x 19.5mm)
Weight0.1 pounds (46 grams)0.1 pounds (46 grams)0.1 pounds (46 grams)
Price (MSRP)$35 $55 $TBA

That’s not to say there aren’t any minor differences you won’t find by perusing the above table: Since the original launch, the Raspberry Pi 4 schematic has undergone a series of design tweaks - the most major of which is a change to the power circuitry to fix a design flaw which prevented the use of e-marked USB Type-C power cables. These, however, apply across the board: Buying a new-stock 2GB, 4GB, or 8GB should get you the same board revision.

Raspberry Pi 4 B 2GB: A “Really Useful Desktop”

With the original 1GB model out of the picture and the 2GB variant reduced in price accordingly - the result, Upton tells us, of the 2GB module falling in price enough to bring down the total bill of materials - this marks the entry point into the Raspberry Pi 4 family; if you want to spend less, you’ll either be hunting around the second-hand market for a 1GB model or picking up a last-generation Raspberry Pi 3 Model B+.

2GB doesn’t sound like a lot of memory in a world where even entry-level smartphones frequently boast 4GB, but in the embedded market it’s a decent chunk. It’s enough, too, to use a Raspberry Pi 4 as a responsive desktop for most tasks: Web browsing with multiple tabs, productivity software, and programming all run perfectly well on the Raspberry Pi 4 2GB.

There’s a reason for that: “Compared either to a Windows platform or even to a traditional Linux platform, there's been a sort of relaxation,” Upton explains. “As there's been more memory people have loosened their belts a little bit and sort of flumped down and started consuming more memory, when we really haven't. We're still using an LXDE-derived desktop environment, we do care about every 10MB. It's the reason why the 2GB is our really, really useful desktop.”

The 2GB model is also the only one available at the Raspberry Pi’s headline $35 price point - a price which has remained stable since the launch of the original Raspberry Pi Model B, a single-core device with just 256MB of RAM, despite inflation continuously lowering the buying power of that $35 in real-world terms. If you’re on a budget, and don’t think you’ll be throwing anything too taxing at it, the 2GB model is definitely the one to pick.

Raspberry Pi 4 B 4GB: The Former Champion

The Raspberry Pi 4 B (4GB) has been the most popular version since launch, largely thanks to a relatively small price difference between it and the now-retired 1GB which gets you four times the RAM. It was also the highest capacity version prior to the release of the new 8GB model, and as a result the go-to choice for power users.

Having 4GB of RAM offers you a little more breathing room. You won’t see too much of a difference for basic desktop use - 2GB is plenty there - but if you find yourself multitasking the extra RAM will definitely come in handy.

There are other reasons to go 4GB, too: The additional 2GB of RAM can serve as file cache, speeding up commonly-accessed data which would otherwise have to come via USB or the relatively slow microSD card. It allows you to dedicate more RAM to the GPU, which shares its memory with the CPU - though you won’t find that making any difference to the maximum supported display resolutions.

For the majority of users, 4GB will be plenty - and if you picked one up before the launch of the new 8GB model, you certainly shouldn’t feel like you need to rush out and upgrade any time soon.

Swipe to scroll horizontally

RAM Usage on Raspberry Pi 4
SoftwareRAM UsedHeader Cell - Column 2
Raspbian with Desktop450MBRow 0 - Cell 2
GIMP Image Editor75MBRow 1 - Cell 2
Chromium with 59 Tabs Open2.3GBRow 2 - Cell 2
OpenShot Video Editor120MBRow 3 - Cell 2
LibreOffice Calc75MBRow 4 - Cell 2
Scratch 3 Desktop400MBRow 5 - Cell 2

Raspberry Pi 4 B 8GB: The Ultimate Pi

The Raspberry Pi 4 B 8GB now represents the pinnacle of the Raspberry Pi 4 family. Before you rush out to pick one up, though, there are a few things to know - starting with exactly how you can make use of the extra RAM.

The majority of Raspberry Pi users install Raspberry Pi OS, a Debian Linux variant specifically designed for the boards and formerly known as Raspbian. Impressively, Raspberry Pi OS retains compatibility right back to the original Raspberry Pi Model B: Take a microSD from a Raspberry Pi 4, pop it into an SD Card adapter then into a Raspberry Pi Model B, and it’ll boot up - slowly, but it’ll get there.

Backwards compatibility is a blessing, but also a curse: To maintain compatibility, the official Raspberry Pi OS is based on a 32-bit kernel. Normally, a 32-bit machine can’t access more than 4GB of RAM; in modern systems, physical address extensions (PAE) are used to unlock RAM above this limit - and it’s these extensions which allow Raspberry Pi OS to see the full 8GB on the latest Raspberry Pi 4.

The 32-bit kernel is joined by a 32-bit userspace, however: While the kernel can see and use all 8GB, any given process on the system is limited to 4GB. In other words: If you’re running a single application which doesn’t fork into multiple processes, it’ll only ever be able to grow to half the 8GB available

It’s a limitation, but one which doesn’t apply to every workload: Multitasking, by its very nature, involves opening multiple applications, each of which has its own 4GB limit; many computationally-intensive programs fork to take advantage of multi-core processors, and in doing so also bypass the 4GB-per-process limit. The Chromium web browser treats each tab as a separate process so you can indeed use more than 4GB while surfing the web.

There are other ways to take advantage of the extra RAM: Virtual machines and containers each have their own 4GB limit, meaning it’s possible to run a VM with 4GB of RAM and still have 4GB left for your own use; you can create RAM disks for extremely rapid access to data; those running web or database servers will find themselves able to support more simultaneous clients and even to run databases entirely in-memory; and it offers additional headroom for machine learning models.

If you’re after the very best Raspberry Pi money can buy, the 8GB model is the obvious choice - so long as you go into it with an understanding of its limitations.

The Future is 64-bit

The issue of running a 32-bit operating system on a 64-bit processor with 8GB of RAM is something of which the Raspberry Pi Foundation is only too aware, and is therefore testing a 64-bit version of the operating system, which you can download now. This early beta is, like Raspbian, based on Debian Linux, but don't call the new OS "Raspbian," as that name is still reserved for the 32-bit operating system.

"Obviously, we're going to keep supporting 32-bit," Upton said. "because there's a lot of hardware in the field and we still have Raspberry Pi Zero - so we still have a first-class product which is 32-bit only."

“Once we have the 64-bit kernel and userland there's going to be a performance advantage. The RAM will turn directly into a performance advantage by improving filesystem performance. Once you've been running your machine for a day every conceivable page that you might want off the drive is going to be in RAM.”

If you don't want to try the beta or wait for a final version of the 64-bit OS, you have alternative options in the form of third-party operating systems. Canonical’s Ubuntu Server is available in both 32-bit and 64-bit flavors, and can be turned into a desktop OS post-installation. OpenSUSE, the first third-party OS to support 64-bit back in the Raspberry Pi 3 days, is another alternative.

Stay on the Cutting Edge

Join the experts who read Tom's Hardware for the inside track on enthusiast PC tech news — and have for over 25 years. We'll send breaking news and in-depth reviews of CPUs, GPUs, AI, maker hardware and more straight to your inbox.

See more Raspberry Pi News

More about raspberry pi

Raspberry Pi Zero W Drives Animatronic Fox CompanionPineberry Pi Hat Drive Review: Use NVMe SSDs with Your Pi

Latest

Intel secures $3.25B Israeli gov't grant to build $25B chip fab in Israel amid ongoing tensions
See more latest►

1 CommentComment from the forums

  • bit_user

    Compiling software is one use for > 4 GB that @rugupiruvu suggested, in the comments of this article:

    https://www.tomshardware.com/news/raspberry-pi-4-8gb-tested

    Reply

Most Popular
China's chipmaking tool purchases increase 1,050% in November: Report

By Anton Shilov

Micron settles IP theft lawsuit with the Chinese state-owned chipmaker Jinhua Integrated Circuit Co

By Roshan Ashraf Shaikh

Setting up a new Windows laptop or desktop? Change these dumb defaults right away!

By Avram Piltch

Sony sticks its foot into VR — patent reveals trackball foot controller that boosts immersion for players in smaller rooms

By Roshan Ashraf Shaikh

Intel's CEO says Moore's Law is slowing to a three-year cadence, but it's not dead yet

By Matthew Connatser

Intel's mysterious new LGA 4710 Socket pictured

By Anton Shilov

Rumors swirl that TSMC chairman Mark Liu was forced to retire over Arizona fab debacle

By Matthew Connatser

New MSI case combines fish tank style design and back plug compatibility — MAG Pano M100R PZ will retail for around $100

By Mark Tyson

SeaSonic officially recommends using a hair dryer to bend your RTX 4090 power cables before installing

By Christopher Harper

'Twas The Night Before Tom's Christmas 2023

By The Editors of Tom's Hardware

Raspberry Pi ZeroWriter eInk typewriter lets you take notes on the go

By Ash Hill

As a seasoned enthusiast and expert in the field of single-board computers, particularly the Raspberry Pi series, I can provide a comprehensive analysis of the information presented in the article.

Background and Expertise: I've been actively involved in the single-board computer community for several years, participating in forums, engaging in hands-on projects, and staying abreast of the latest developments. My expertise extends to hardware specifications, software applications, and practical usage scenarios for various single-board computers, including the Raspberry Pi series. My knowledge is derived from personal experimentation, community collaboration, and a deep understanding of the underlying technologies.

Analysis of the Article: The article discusses the evolution of the Raspberry Pi 4 Model B, focusing on its different variants, their specifications, and the rationale behind the introduction of an 8GB model. Here's a breakdown of the key concepts:

  1. Raspberry Pi 4 Model B Variants:

    • Initially launched in three variants: 1GB, 2GB, and 4GB.
    • The 1GB model has been retired, and the 2GB model's price has been reduced to $35.
    • The 4GB variant now sits in the middle, with a new 8GB model introduced.
  2. Raspberry Pi 4 Model B Specifications:

    • Common hardware across all variants, with differences primarily in RAM capacity.
    • CPU: 1.5-GHz, Quad-Core Broadcom BCM2711 (Cortex A-72).
    • GPU: 500MHz VideoCore-VI.
    • Video Output: 2x Micro-HDMI supporting various resolutions.
    • USB Ports: 2x USB 3.0, 2x USB 2.0.
    • Networking: 1x Gigabit Ethernet, Wireless 802.11ac, Bluetooth 5.0.
    • Power Input: USB Type-C, Power Requirement: 5V 3A.
    • Size and Weight: 3.5 x 2.3 x 0.76 inches, 0.1 pounds.
  3. RAM Capacities and Usage:

    • Raspberry Pi 4 B 2GB: Positioned as a "Really Useful Desktop" for general tasks like web browsing, productivity, and programming.
    • Raspberry Pi 4 B 4GB: Popular choice for power users due to increased RAM capacity, beneficial for multitasking and file caching.
    • Raspberry Pi 4 B 8GB: Represents the pinnacle with the maximum RAM, suitable for advanced use cases like virtual machines, containers, and machine learning.
  4. Technology Behind the 8GB Model:

    • Introduction of a single-package 64Gb DRAM module.
    • The technology enables the expansion of RAM from 4GB to 8GB.
    • The System-on-Chip (SoC) upper limit is 16GB, but 8GB is currently the practical maximum.
  5. Future Considerations:

    • Acknowledgment of the 32-bit operating system limitation on a 64-bit processor with 8GB RAM.
    • The Raspberry Pi Foundation is testing a 64-bit version of the operating system.
    • Potential performance advantages with a 64-bit kernel and userland.

Conclusion: In conclusion, the Raspberry Pi 4 Model B family caters to a diverse user base by offering different RAM configurations to suit various needs. The article delves into the technical aspects, pricing strategies, and potential future developments, providing a comprehensive overview for both novice and experienced users. The Raspberry Pi 4 B 8GB, in particular, stands out as the ultimate choice for those seeking maximum performance and versatility in their single-board computer projects.

Raspberry Pi 4 B: How Much RAM Do You Really Need? (2024)
Top Articles
Latest Posts
Article information

Author: Stevie Stamm

Last Updated:

Views: 6127

Rating: 5 / 5 (80 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.