Repository navigation
Performance
Command Panel runs all the time in the background, so it should stay light. This page shows how much memory (RAM) it uses on an AYN Thor, what each feature adds, and how to keep it low.
Measured on Command Panel v0.16.0, AYN Thor with 16 GB of RAM, November 30, 2026. Numbers are PSS (the app's fair share of memory, the figure Android itself uses), rounded.
| What's going on | Memory used |
|---|---|
| Panel closed, Replay Buffer off | about 110 MB |
| Panel open, Replay Buffer off | about 135 MB |
| Panel closed, Replay Buffer on (default settings) | about 135 MB |
| Panel closed, Replay Buffer on (largest settings) | up to about 270 MB |
On a 16 GB Thor, 110 MB is under 1% of the device's memory.
The idle total has two parts:
- The app itself: about 68 MB.
- The root helper: about 42 MB. This is a small separate process that handles privileged actions (brightness, screen blanking, Replay Buffer capture and so on). Most of its size is the fixed cost of starting a Java process outside Android's usual app launcher, and it stays about the same whatever you turn on.
| Feature | Panel closed | Panel open |
|---|---|---|
| The panel itself | 0 | +25 MB (its window on the lower screen) |
| Replay Buffer | +8 to +160 MB, see below | same |
| Still image background | +5 MB | +6 MB |
| Animated (GIF) background | 0 | +10 to +14 MB |
| Gradient background, still or moving | 0 | +3 to +7 MB |
Good to know:
- Closing the panel gives its memory back. Opening and closing it again and again doesn't make it grow.
- Animated backgrounds only animate while the panel is open. Large GIFs are shrunk to the panel's size, so a big file costs about the same as a small one once it's playing. Importing a very large GIF briefly uses about 25 MB more while it's processed.
- Gradients are the lightest backgrounds. A moving gradient is drawn by the GPU and costs about the same memory as a still one; moving costs battery, not RAM.
- A still image stays in memory after you close the panel, so it opens instantly next time.
Replay Buffer keeps the last few seconds of gameplay in memory so you can save a clip at any time. On v0.16.0 that memory is set aside the moment it turns on (v0.16.1 only uses what the clip needs, see below), and it stays in use the whole time Replay Buffer is on, even with the panel closed.
How much depends on three settings: what it records (Top, Bottom or Both screens), Quality, and how many seconds it keeps. With sound on:
| Records | Quality | 15 s | 30 s | 60 s | 90 s |
|---|---|---|---|---|---|
| Top screen | Low | 8 MB | 13 MB | 25 MB | 37 MB |
| Top screen | Balanced | 13 MB | 25 MB (default) | 48 MB | 71 MB |
| Top screen | High | 26 MB | 49 MB | 94 MB | 140 MB |
| Bottom screen | Low | 8 MB | 11 MB | 20 MB | 30 MB |
| Bottom screen | Balanced | 11 MB | 20 MB | 39 MB | 58 MB |
| Bottom screen | High | 21 MB | 39 MB | 76 MB | 112 MB |
| Both screens | Low | 9 MB | 18 MB | 34 MB | 51 MB |
| Both screens | Balanced | 18 MB | 34 MB | 66 MB | 99 MB |
| Both screens | High | 36 MB | 68 MB | 131 MB | 160 MB (limit) |
Recording also adds about 4 MB to the root helper and a little graphics memory for the video encoder.
Good to know:
- The default (Top screen, Balanced, 30 seconds) uses about 25 MB. We measured it on the device and it matched the table.
- Saving a clip briefly needs about as much again while the clip is written out. Fixed in v0.16.1 (see below).
- Turning Replay Buffer off frees all of it within a few seconds.
- Pick the Replay Buffer settings you actually use. The default is light. Both screens on High for 90 seconds is the heaviest thing Command Panel can do. If you only clip the top screen, record only the top screen.
- Turn Replay Buffer off when you don't need it. It's the only feature that holds a lot of memory while the panel is closed.
- Prefer a gradient background to a GIF if you want something moving.
- Close the panel when you're done. It gives back its 25 MB.
Three fixes from this round of measurements shipped in v0.16.1:
- Replay Buffer only uses the memory its clip needs. It no longer sets its whole buffer aside up front. Memory now follows the video it actually keeps, so a quiet screen uses very little, and the sizes in the table above become the most it can ever use, not what it always uses.
- Saving a clip doesn't need a second copy. The clip is written straight from the buffer.
- The still background image is given back a minute after you close the panel, or right away when Android needs memory. Reopening within that minute is still instant; after it, the image loads again in well under a tenth of a second.
Measured side by side on the same Thor (debug builds of v0.16.0 and v0.16.1, same steps, top screen mostly still):
| v0.16.0 | v0.16.1 | |
|---|---|---|
| Replay Buffer at default settings, after 3 minutes | 25 MB set aside | about 1 MB |
| Replay Buffer on High (30 s), after 3 minutes | 49 MB set aside | 16 MB |
| Extra memory while saving an 8.5 MB clip | +8 MB | 0 |
| Still image, a minute after closing the panel | 5 MB kept | 0 |
| Idle, and with the panel open | same | same |
With a busy game on screen v0.16.1 uses more than these quiet-screen numbers, roughly the size of the clip it keeps, and at most about the size in the table above. v0.16.0 climbs to the full size in the table the longer Replay Buffer runs.
To see what it uses on your Thor, open Performance at the bottom of the Replay Buffer section. It shows the buffer memory right now, plus your last clip's size, length and save time and the average over recent clips.
Still being looked at:
- A smaller cache for Replay Studio's thumbnails.
- Why the app holds some extra native memory while idle, and whether other images the panel drew stay in graphics memory after it closes.
- Release build:
dumpsys meminfowhile switching the panel and Replay Buffer with adb, in every combination, after letting each state settle (and letting the Replay Buffer fill). - Backgrounds: measured on a debug build, comparing each background with no background, the panel open and closed. A debug build uses more memory overall, but what each background adds is the same as on a release build.
- Replay Buffer table: calculated from the app's sizing rule (bitrate times seconds kept, plus 2 seconds and 25% headroom, limited to 160 MB). The default setting was checked on the device.
- v0.16.1 comparison: debug builds of v0.16.0 and of v0.16.1, installed one after the other on the same Thor and put through the same scripted steps, with only Command Panel's service running. "Set aside" is the Java memory reserved for the buffer, over the idle level.