Files & collaboration

Nextcloud VPS requirements for 1, 5 and 20 users

By VPSfit · Sources checked · Nextcloud website · source code · AGPL-3.0

Nextcloud's own docs refuse to give one number, and for good reason: RAM depends on how many people are active at the same moment, which apps you enable, and whether you bolt on Office, antivirus or full-text search. Here is what the Nextcloud developers do say, turned into concrete sizes.

Sizing guide

Our recommendations, derived from the sourced figures below. Not measurements.

ScenarioRAMvCPUWhy
1 user (just you)4 GB (3 GB base + 1 GB)3 (2 + 1)Base AIO with no heavy add-ons. 2 GB is the stated floor but the forum thread above shows what living at the floor feels like. Add 1 GB if you enable ClamAV, Talk Recording or full-text search (their 3 GB minimum).
5 users4–8 GB3–7The rule counts active users. If only one or two people sync at once, 4–5 GB is in line with it. If all five might be uploading at the same time (a family dumping holiday photos), the rule says 8 GB and 7 vCores.
20 usersBase 3 GB + 1 GB per concurrent user2 + 1 per concurrent userTwenty accounts rarely means twenty simultaneous sessions, and the rule is explicitly per active user. Estimate your real concurrency first. With 5 at once that is 8 GB; with all 20 at once it is 23 GB and 22 vCores, which is a dedicated-server problem, not a cheap-VPS one.

Official requirements

ItemWhat the project saysSource
Per-process memoryMinimum 128 MB RAM per process, 512 MB per process recommendedNextcloud Admin Manual: System requirements
checked Oct 21, 2026
Built-in updaterNeeds at least 256 MBNextcloud Admin Manual: System requirements
checked Oct 21, 2026
AIO minimumWith any optional container enabled: at least 2 GB RAM, a dual-core CPU and 40 GB system storagenextcloud/all-in-one discussion #1335 (AIO interface text quoted by maintainer)
checked Oct 21, 2026
AIO heavy add-onsClamAV, Talk Recording-server or Fulltextsearch: at least 3 GB RAM (Talk Recording also +2 vCPUs). Everything enabled: at least 5 GB RAM and a quad-core CPU. Recommended: 1 GB more than the minimumnextcloud/all-in-one discussion #1335
checked Oct 21, 2026
Per-user rule1 vCore and 1 GB RAM per active user, on top of the AIO base requirementnextcloud/all-in-one discussion #1335: General recommendations for the best performance
checked Oct 21, 2026
PHP-FPM workersA typical worker uses 50–100 MB (more with Imagick or LDAP). Default pm.max_children = 5 limits you to five simultaneous PHP requestsNextcloud Admin Manual: Server tuning
checked Oct 21, 2026
Install guide baselineThe official AIO-on-Linux guide assumes a machine with at least 4 GB RAM and two coresNextcloud blog: How to install Nextcloud All-in-One on Linux
checked Oct 21, 2026

What people report in practice

Individual reports, not controlled tests. Versions, hardware and settings differ, so treat these as data points, not guarantees.

Our measurements: coming soon

We haven't measured Nextcloud yet, so there are no VPSfit lab numbers on this page. When we do, they'll show the app version, the plan it ran on, the date, and the raw data. Here's what we'll record:

  • Idle RAM per container for a stock AIO install, then with ClamAV, Collabora and full-text search enabled
  • RAM and CPU while 1, 5 and 20 simulated WebDAV clients sync a fixed file set concurrently
  • Preview-generation peak for 1,000 photos
  • PHP-FPM worker RSS on the current release

How we measure →

What drives Nextcloud's RAM use

Concurrent requests, i.e. PHP-FPM workers

Each simultaneous request is served by a PHP worker using roughly 50–100 MB. Desktop and phone clients poll every 30 seconds, so several connected devices keep workers busy even when nobody is clicking. Total PHP RAM is about workers × per-worker RSS, which is why the docs give a per-process figure instead of a per-server one.

Preview (thumbnail) generation

Generating image and video previews is the most expensive routine job. A photo-heavy instance needs more RAM and CPU while the backlog is processed; the AIO maintainers recommend the Preview Generator app to pre-generate them on a schedule.

Optional containers and apps

ClamAV, Collabora/OnlyOffice, full-text search (Elasticsearch/OpenSearch), Talk Recording and imaginary each add their own memory floor. They are the difference between a 2 GB and an 8 GB Nextcloud.

The database and cache

MariaDB/Postgres plus Redis for file locking and caching. Small on a personal instance, but they grow with file count and need RAM to stay fast.

Gotchas on a VPS

  • Don't leave PHP-FPM at its defaults. The stock pm.max_children = 5 caps you at five simultaneous PHP requests and causes 502/504 errors under real use. The server tuning docs give the formula: pm.max_children = available RAM for PHP ÷ average worker RSS. Setting it higher than RAM allows causes swapping, which is worse than queueing.
  • SQLite is for testing. The server tuning docs recommend MariaDB/MySQL or Postgres for real use; SQLite struggles with concurrent access.
  • Network storage for everything is slow. The AIO maintainers recommend SSD for everything and advise against NFS/SMB for the main data (fine for backups). A cheap VPS with a big attached volume is common; keep the database and app on the local disk.
  • Cloudflare proxy/tunnel. The AIO maintainers specifically advise against Cloudflare's proxy or tunnel, saying it "potentially slows down things by a lot and introduces a lot of problems". Plan to expose it another way.
  • Docker Desktop is not a server. If you test at home on Windows or macOS first, Docker Desktop's VM adds 4 GB+ of overhead (per the AIO maintainers) that a Linux VPS doesn't have. Don't size your VPS from that test.

Cheapest plans that fit

Nextcloud AIO (no heavy add-ons): 4 GB RAM or more

Threshold: AIO minimum 2 GB + recommended 1 GB headroom, plus 1 GB and 1 vCore per active user (source) plus one active user. Add 1 GB per extra active user; try the stack calculator. Also check vCPU: at least 2.

Provider & planRAMvCPUDisk Price / monthTermsSource
Contabo Cloud VPS 4 8 GB 4 shared 100 GB SSD €4.40
excl. VAT · ≈ $4.93
24-month term (effective monthly rate) contabo.com
checked Oct 21, 2026
Contabo Cloud VPS 6 12 GB 6 shared 200 GB SSD (or 100 GB NVMe) €6.00
excl. VAT · ≈ $6.73
24-month term (effective monthly rate) contabo.com
checked Oct 21, 2026
Hostinger KVM 1 4 GB 1 AMD EPYC 50 GB NVMe $11.99
intro $6.49
before tax
Prepaid intro rate; renews at $11.99/mo hostinger.com
checked Oct 21, 2026
Contabo Cloud VPS 8 24 GB 8 shared 300 GB SSD (or 150 GB NVMe) €11.20
excl. VAT · ≈ $12.56
24-month term (effective monthly rate) contabo.com
checked Oct 21, 2026

Nextcloud AIO + ClamAV / full-text search: 5 GB RAM or more

Threshold: AIO minimum 3 GB with ClamAV/Fulltextsearch + recommended 1 GB, plus 1 GB and 1 vCore per active user (source) plus one active user. Add 1 GB per extra active user; try the stack calculator. Also check vCPU: at least 2.

Provider & planRAMvCPUDisk Price / monthTermsSource
Contabo Cloud VPS 4 8 GB 4 shared 100 GB SSD €4.40
excl. VAT · ≈ $4.93
24-month term (effective monthly rate) contabo.com
checked Oct 21, 2026
Contabo Cloud VPS 6 12 GB 6 shared 200 GB SSD (or 100 GB NVMe) €6.00
excl. VAT · ≈ $6.73
24-month term (effective monthly rate) contabo.com
checked Oct 21, 2026
Contabo Cloud VPS 8 24 GB 8 shared 300 GB SSD (or 150 GB NVMe) €11.20
excl. VAT · ≈ $12.56
24-month term (effective monthly rate) contabo.com
checked Oct 21, 2026
Hostinger KVM 2 8 GB 2 AMD EPYC 100 GB NVMe $14.99
intro $8.79
before tax
Prepaid intro rate; renews at $14.99/mo hostinger.com
checked Oct 21, 2026

Prices checked Oct 21, 2026 on each provider's official pricing page. EUR prices converted at the ECB rate of Oct 20, 2026 (1 € = $1.1215) only for ranking. See all plans on the cheapest 4 GB VPS page.