Memory is the one component you cannot fake with a faster CPU. Datacenters are expected to consume 70% of global memory in 2026, and consumer RAM, SSD and laptop prices are paying for it. Operating systems are also asking for more at the same time. This guide covers what each OS needs now, how to measure your real footprint, and how to reduce it.
Quick Takeaways
- Supply is tight into 2027. TrendForce projects conventional DRAM contract prices up 10–15% quarter over quarter in 4Q26, and PC OEMs expect supply to stay tight in 2027.
- Official minimums understate reality. Windows 11 still lists 4GB, but a Copilot+ PC needs 16GB of DDR5/LPDDR5.
- Linux raised its floor first. Ubuntu 26.04 LTS requires at least 6GB of RAM on the desktop.
- Tuning is cheaper than buying. Compressed swap (zram), startup trimming and per-service limits recover 1–3GB on a typical 8GB machine.
Why the Shortage Hits Operating Systems
AI data center demand has redirected memory manufacturing capacity away from consumer DDR5 and toward HBM. HBM is built from the same DRAM chips that go into consumer RAM, so every HBM wafer starts as a wafer that could have become a DIMM.
The consumer effect has two parts:
- Higher prices. TrendForce suggested laptops that shipped with 16GB will likely ship with 8GB.
- Smaller configurations. Mid-range phones may be capped at 8GB, lower-end phones could see 6GB, and 4GB phones could return.
Meanwhile, the OS and apps keep growing. On an 8GB Windows 11 machine, Windows processes often take 2GB to 4GB. You get less headroom each year, on hardware that costs more to upgrade.
Current OS Memory Requirements (November 2026)
| OS / Edition | Official Minimum | Practical Target | Notes |
|---|---|---|---|
| Windows 11 26H2 | 4GB | 8GB basic, 16GB multitasking | Same minimum hardware requirements as 24H2 and 25H2 |
| Windows 11 Copilot+ PC | 16GB | 16GB+ | DDR5/LPDDR5 only |
| Ubuntu Desktop 26.04 LTS | 6GB | 8GB | Not a hard requirement; it still installs on less, but performance may suffer |
| Ubuntu Server 26.04 LTS | 1.5GB | 3GB | Suggested minimum of 3GB for real-world workloads |
| macOS (current Macs) | n/a | 16GB | MacBook Air, MacBook Pro, Mac mini and iMac all start at 16GB; the MacBook Neo lists 8GB |
| ChromeOS Flex / Chromebook Plus | n/a | 8GB | Chromebook Plus lists 8GB or more |
Two points matter for planning:
- Ubuntu’s 6GB is an admission, not a regression. The bump reflects GNOME 50 and updated Firefox, LibreOffice and GIMP. Ubuntu 26.04 can be installed successfully on a 4GB system.
- Microsoft is softening its message. Microsoft said it plans to optimize Windows 11 for systems with 8GB of RAM and above, but it has published no concrete memory-reduction details. Treat 8GB as workable, not comfortable.
Prerequisites: Measure Before You Tune
Find your real baseline before changing anything.
Windows (PowerShell, run as Administrator)
# Total vs. free physical memory (values in KB)
Get-CimInstance Win32_OperatingSystem | Select-Object TotalVisibleMemorySize, FreePhysicalMemory
# Top 10 processes by working set, in MB
Get-Process | Sort-Object WorkingSet64 -Descending |
Select-Object -First 10 Name, @{n='MB';e={[math]::Round($_.WorkingSet64/1MB)}}
# Confirm memory compression is on
Get-MMAgent
Sort-Object WorkingSet64 -Descendingranks processes by resident memory.Get-MMAgentreportsMemoryCompression : Truewhen the compressed store is active.
Linux (Bash)
# Human-readable memory and swap summary
free -h
# Top 10 processes by resident set size
ps -eo pid,comm,rss --sort=-rss | head -n 11
# Is compressed swap active?
zramctl
swapon --show
free -h: read the available column, not free. Page cache is reclaimable.--sort=-rsssorts by resident memory, largest first.
macOS (Terminal)
# System-wide pressure and free percentage
memory_pressure
# Page-level statistics
vm_stat
# Top 10 processes by memory, single sample
top -o mem -l 1 -n 10
macOS manages memory aggressively. High “used” memory is normal. Sustained memory pressure and heavy swap are the real warning signs.
Step-by-Step: Reduce Your OS Memory Footprint
Step 1: Enable Compressed Swap on Linux
zram compresses pages in RAM instead of writing them to disk. It trades a little CPU for a lot of effective capacity.
Ubuntu / Debian:
sudo apt install zram-tools
sudo nano /etc/default/zramswap
Set these values in /etc/default/zramswap:
ALGO=zstd
PERCENT=50
sudo systemctl restart zramswap
zramctl
Fedora: zram-generator is the default. Edit /etc/systemd/zram-generator.conf:
[zram0]
zram-size = ram / 2
compression-algorithm = zstd
ALGO=zstdgives a better compression ratio thanlzo.PERCENT=50sizes the device at half of physical RAM.
Then tune vm.swappiness for zram, because swapping to compressed RAM is cheap:
echo 'vm.swappiness=100' | sudo tee /etc/sysctl.d/99-memory.conf
sudo sysctl --system
Step 2: Cap Runaway Services (SysAdmin)
Give each service a memory ceiling so one leak does not trigger the global OOM killer:
sudo systemctl set-property nginx.service MemoryHigh=450M MemoryMax=512M
systemctl show nginx.service -p MemoryCurrent -p MemoryMax
MemoryHighthrottles the cgroup and forces reclaim.MemoryMaxis the hard limit. The kernel OOM-kills inside that cgroup only.
Step 3: Trim Windows Startup and Background Load
# List startup entries
Get-CimInstance Win32_StartupCommand | Select-Object Name, Command, Location
# Enable memory compression if it is off
Enable-MMAgent -MemoryCompression
Disable heavy startup items in Settings → Apps → Startup. Reboot, then compare FreePhysicalMemory against your earlier baseline. A reboot is required after enabling MemoryCompression.
Step 4: Pick a Lighter Desktop Where It Makes Sense
| Option | Resource Consumption | Stability | Ease of Management | Best For |
|---|---|---|---|---|
| Ubuntu (GNOME) | Highest of the three | LTS, enterprise support | Easiest | Mainstream desktops, 8GB+ |
| Lubuntu (LXQt) | Lowest | LTS-based | Easy | 4GB machines. Flavours like Lubuntu have lower requirements than the main edition |
| Ubuntu Server + minimal WM | Very low | Excellent | Moderate | Headless boxes, 1.5–3GB |
Step 5: Decide Whether to Upgrade or Optimize
| Current RAM | Action | Rationale |
|---|---|---|
| 4GB | Lightweight distro or ChromeOS Flex | Windows 11 and GNOME will both swap constantly |
| 8GB | Optimize first (steps 1–3) | Workable for office and browser use |
| 16GB | Do nothing | Comfortable on every mainstream OS |
| 32GB+ | Only for VMs, containers, 4K video, local LLMs | Price premium is steepest here |
Troubleshooting: Real-World Recovery Routines
Scenario 1: Windows Reports “Your Computer Is Low on Memory”
Windows logs Event ID 2004 from Resource-Exhaustion-Detector when it hits this state. Pull the offenders:
Get-WinEvent -FilterHashtable @{
LogName='System'
ProviderName='Microsoft-Windows-Resource-Exhaustion-Detector'
Id=2004
} -MaxEvents 5 | Format-List TimeCreated, Message
The message lists the top memory consumers by process. Browser tabs and Electron apps lead most reports. Close or replace the top entry, then re-run the Get-Process check.
Scenario 2: A Linux Process Disappears Without a Trace (OOM Killer)
sudo journalctl -k | grep -iE "out of memory|oom-kill"
sudo dmesg -T | grep -i "killed process"
- The log line names the killed process, its
total-vm, andanon-rss. - If
systemd-oomdis active, check it as well:systemctl status systemd-oomd. - Fix the cause with a cgroup
MemoryMax(Step 2) or zram (Step 1). Do not just add swap on a slow disk.
Scenario 3: Container Host Thrashing
Check which cgroup is growing:
systemd-cgtop -m
-m sorts by memory. Set MemoryMax on the offending unit, or set --memory limits on containers.
Scenario 4: Mac Slows Down With Green-to-Yellow Memory Pressure
Run memory_pressure and check the “System-wide memory free percentage.” Quit the top process from top -o mem. Browsers with many tabs and Electron apps are the usual cause. Avoid “memory cleaner” apps. They purge cache that macOS would reuse.
Outlook: How Long Will This Last?
Short-term data is mixed. DRAM contract prices set a record in October 2026, while NAND contract prices stopped rising for the first time in 21 months. PC DRAM supply could contract in 2027 as capacity shifts to servers. Deloitte has gone further, with a headline forecast that the crisis could last to 2029 or 2030.
Plan around two assumptions:
- Buy RAM once, at the capacity you need for the device’s life. Later upgrades will likely cost more.
- Treat memory tuning as standard configuration. Compressed swap, service limits and startup control belong in your build baseline.
FAQ
How much RAM does Windows 11 need in 2026?
Microsoft’s minimum is 4GB, unchanged in 26H2. In practice, 8GB handles light work and 16GB suits multitasking. A Copilot+ PC requires 16GB.
Why does Ubuntu 26.04 need more RAM than Windows 11?
Canonical raised the Ubuntu Desktop figure to 6GB because GNOME 50 and current browsers and office apps use more memory. It is guidance, not a hard block. The installer still runs on 4GB, and Ubuntu Server runs from 1.5GB.
Is 8GB of RAM enough in 2026?
Yes, for browsing, documents and video calls, if you trim startup apps and enable memory compression (Windows) or zram (Linux). It is not enough for heavy multitasking, local AI models, virtual machines or 4K editing.
When will RAM prices come down?
Not before 2027 on current forecasts. TrendForce still projects Q4 2026 contract price increases and expects tight DRAM supply into 2027.




