Resource sizing for a desktop agent: memory, processors, disk and screenshots
The gist
Size a desktop agent's machine from the operating system's published minimum, then add its applications, a browser and capture. The table lists minimums for Windows 11 VMs, Ubuntu Desktop and Debian; two worked grids give an example hourly cost per size and a screenshot's raw size.
Words: VMForAI editors / Out / Fixed up / 2 min
Data as of
| Operating system and setting | Memory (GB) | Disk (GB) | Processor, as stated | Where from | Seen |
|---|---|---|---|---|---|
| Windows 11, virtual machine | 4 | 64 | Two or more virtual processors | learn.microsoft.com/en-us/windows/whats-new/windows-11-requirements | |
| Ubuntu Desktop 26.04.1 LTS | 6 | 25 | 2 GHz dual-core processor or better | ubuntu.com/download/desktop | |
| Debian with desktop, minimum | 1 | 10 | Not given in the requirements table | www.debian.org/releases/stable/amd64/ch03s04.en.html | |
| Debian with desktop, recommended | 2 | 10 | Not given in the requirements table | www.debian.org/releases/stable/amd64/ch03s04.en.html |
| Memory (GiB) | |||||
|---|---|---|---|---|---|
| vCPUs | 4 | 6 | 8 | 16 | 32 |
| 2 | 0.1656 | 0.1980 | 0.2304 | 0.3600 | 0.6192 |
| 4 | 0.2664 | 0.2988 | 0.3312 | 0.4608 | 0.7200 |
| 8 | 0.4680 | 0.5004 | 0.5328 | 0.6624 | 0.9216 |
The sum: vcpus * vcpu_rate + gib * gib_rate, where vcpu_rate = 0.0504; gib_rate = 0.0162.
| Screen width (px) | |||
|---|---|---|---|
| Screen height (px) | 1,280 | 1,366 | 1,920 |
| 720 | 2.64 | 2.81 | 3.96 |
| 768 | 2.81 | 3.00 | 4.22 |
| 1,024 | 3.75 | 4.00 | 5.63 |
| 1,080 | 3.96 | 4.22 | 5.93 |
The sum: width * height * bytes_per_pixel / mib, where bytes_per_pixel = 3; mib = 1,048,576.
How do I size a desktop agent's machine?
Start from the operating system's published minimum, then add what the agent runs on it. The table above lists those minimums as their publishers state them, read on 2026-11-26. They cover the operating system only.
- Memory. Take the minimum from the table, then add the task's applications. A browser on the desktop usually needs the most.
- Shared memory. In a container, raise
/dev/shm. Docker uses 64 MB when--shm-sizeis left out (Docker run reference, read 2026-11-26). - Processors. Windows 11 VMs need "Two or more virtual processors" (Windows 11 requirements, read 2026-11-26). Add processors for screen recording and for applications that compile, render or run a browser.
- Disk. The table's figures are for the system. Add the task files, the browser's cache, recordings and screenshots kept for debugging.
- Limits. Set a memory and processor limit per desktop, so one runaway task cannot starve its neighbours. Docker's
--memorysets the memory limit (its stated minimum is 6M) and--cpusthe number of CPUs (Docker run reference).
Then check the size by running real tasks and reading peak memory and processor use, not by trusting the minimum.
How much memory do screenshots and recordings take?
A screenshot takes width times height times 3 bytes uncompressed at 24-bit colour, which the second grid works out per screen size. It is an example calculation, not a measurement: the stored PNG is far smaller, but the agent's harness holds the raw image in memory while it resizes and encodes it, and keeps several when it sends a history of screens to the model.
Recording adds an encoder process. Plan a processor for it at high frame rates; recording an agent's desktop session covers frame rates and file sizes.
What does a size cost per hour of running time?
A size's running cost is its vCPUs times the vCPU rate plus its memory times the memory rate. Promigence, used here as a worked example, lists $0.0504 per vCPU-hour plus $0.0162 per GiB-hour, metered per second (Promigence FAQ, read 2026-11-26), and Daytona and E2B list the same two rates, billed per second (Daytona and E2B pricing pages, read 2026-11-26), so the first grid's sums are the same at all three. With those rates, the Ubuntu Desktop minimum of 2 vCPUs and 6 GB, counted as 6 GiB, comes to $0.198 per hour, and the first grid does the same sum for other sizes.
Two cautions before you use the grid. Providers sell sizes in steps of their own, so round your desktop up to the nearest size your provider offers and price that size. And providers bill processors in different units, some per vCPU, some per physical core, some on the processor time actually used, so redo the sum with your own provider's published rates and unit.
Sources
- Windows 11 requirements, read 2026-11-26
- Ubuntu Desktop download page, read 2026-11-26
- Debian installation guide, minimum system requirements, read 2026-11-26
- Docker run reference, read 2026-11-26
- Promigence FAQ, https://www.promigence.ai/faq, read 2026-11-26
- Daytona pricing page, read 2026-11-26
- E2B pricing page, read 2026-11-26
Method
Each row was read on the checked date from the operating system's own requirements page, with memory and disk in GB and the processor wording as published; these are minimums for the operating system alone.
Asked
How much memory does a Windows 11 agent VM need?
Microsoft lists 4 GB or more for a Windows 11 virtual machine, with two or more virtual processors and 64 GB or more of disk. That is the floor for Windows alone; the agent's applications come on top.
How much memory does a Linux desktop for an agent need?
It depends on the desktop. Ubuntu Desktop 26.04.1 LTS lists 6 GB, while Debian's installation guide gives 1 GB minimum and 2 GB recommended with a desktop. A bare Xvfb display with a light window manager is lighter than a full desktop environment, but a browser on it is not.
Why does a browser crash in my agent's desktop container?
Often because /dev/shm is too small. Docker gives a container 64 MB of shared memory when --shm-size is left out, and browsers use shared memory between their processes. Raise it, for example to 1 GB.
How big is one screenshot?
Uncompressed, width times height times 3 bytes at 24-bit colour. A 1920x1080 screen is about 5.93 MiB raw. PNG compression makes the stored file much smaller, but the raw size is what sits in memory while the image is processed.