OneUI 6 Memory Management: how does Samsung manage the aggressiveness of RAM Swap?

OneUI 6 Memory Management: how does Samsung manage the aggressiveness of RAM Swap?

Samsung has significantly revised memory management with OneUI 6, especially on models equipped with 6 to 8 GB of RAM. The goal is clear: to take advantage of RAM Swap without affecting the device’s responsiveness.
The system must juggle between active applications, those paused, and invisible processes, while maintaining a sense of stability.

However, not everyone experiences the use of RAM Swap in the same way: some enjoy better multitasking, while others feel that applications reload more often. In reality, the aggressiveness of RAM Swap depends on a set of internal parameters that Samsung adjusts according to the phone’s load, the chip used, the type of storage, and even the temperature.

The internal algorithm that decides when to activate RAM Swap

Unlike “stock” Android, OneUI 6 uses a custom adaptation of the zRAM mechanism.
Samsung doesn’t just compress part of the RAM: it continuously evaluates the state of resources to determine when to move certain blocks to storage.

The variables monitored continuously:

  • CPU load,
  • amount of free RAM,
  • size of dormant processes,
  • SoC temperature,
  • number of recently opened applications.

When an internal threshold is crossed, OneUI prioritizes moving:

  • light background tasks,
  • rarely used services,
  • activities frozen by the system.

This operation gives the impression of a more stable smartphone but can also produce the opposite effect when storage is too solicited. This is where the aggressiveness of RAM Swap manifests.

The factor that triggers the most aggressive behavior: the speed of internal storage

RAM Swap relies entirely on the smartphone’s UFS.
The faster the storage, the more discreet the swap.
The slower it is, the more visible the experience becomes.

OneUI 6 uses automatic detection of the type of storage:

  • UFS 2.2 → more frequent and visible swap
  • UFS 3.1 → moderate swap
  • UFS 4.0 → very fast swap, almost imperceptible

On entry/mid-range models, the algorithm compensates for slow storage by emptying background apps more often rather than extending the swap too widely.
This explains the presence of more frequent reloads on some Galaxy A models.

The hidden setting in the system that moderates the frequency of application purges

OneUI 6 includes an automatic manager named RAM Plus.
This determines the amount of swap allocated: 2 GB, 4 GB, 6 GB, or 8 GB.

What few users know:
The higher the value, the more the system compensates by emptying intermediate applications.

In short:

  • Low RAM Plus = more “real” RAM available, fewer purges
  • High RAM Plus = more swap, but more frequent eviction of dormant apps

The best setting depends on the model:

  • Smartphones with 6 GB RAM → RAM Plus at 2 GB
  • Smartphones with 8 GB RAM → RAM Plus at 4 GB
  • Smartphones with 12 GB RAM → RAM Plus between 2 and 4 GB to avoid unexpected reloads

Samsung has calibrated OneUI 6 to ensure that less powerful models maintain a stable feel without saturating the swap.

Thermal behavior: when OneUI becomes more severe

Memory management doesn’t just depend on RAM: temperature plays a major role.

When the smartphone heats up:

  • the CPU reduces its frequency,
  • UFS storage slows down,
  • the system prefers to empty more apps rather than use the swap.

Result:
During a prolonged session (gaming, videos, GPS), applications reload more often.
This is not a bug: it’s the system trying to keep the device at a stable thermal level.

The role of heavy applications: how OneUI prioritizes them

Some apps are very memory-intensive, notably:

  • TikTok,
  • Instagram,
  • Snapchat,
  • Chrome with multiple tabs,
  • 3D games,
  • photo/video editors.

OneUI 6 applies an internal hierarchy:

  1. Light apps are transferred to swap.
  2. Heavy apps are completely closed.
  3. Games are suspended via Game Booster to avoid abrupt reloads.

This behavior explains why some social apps reload more often than simple utilities.

Manual settings that reduce the aggressiveness of RAM Swap

Even though OneUI manages everything automatically, several optimizations allow for more comfortable memory retention.

➡️ Disable automatic cleaners of certain apps

  • Antiviral cleaners → to avoid
  • “RAM booster” apps → to disable
  • Third-party managers → unnecessary on OneUI

These tools force the closure of apps and unnecessarily worsen the swap.

➡️ Keep 20% free space on internal storage

Swap depends on storage. A saturated device slows down and purges apps more often.

➡️ Modify RAM Plus in Settings / Device Care

  • Do not choose the highest value
  • Favor a reasonable size according to your model

➡️ Install OneUI updates

Samsung regularly improves the aggressiveness of the memory manager via OTAs.

Why OneUI 6 seems more responsive on high-end Galaxy models?

The Galaxy S22, S23, S24, and Fold benefit from:

  • faster UFS storage,
  • more powerful SoC,
  • better thermal dissipation,
  • more physical RAM,
  • specific Samsung optimizations for premium models.

Thanks to them, the system uses the swap much more discreetly, almost invisibly.

On these models, OneUI 6 keeps applications in the background much longer, even when they exceed 1.5 GB each (TikTok or Chrome, for example).

The real behavior in situation: what the user feels depending on the model

Entry/mid-range Galaxy (A14, A24, A34, A54…)

  • frequent swap,
  • relatively common reloading,
  • moderate but visible aggressiveness.

High-end Galaxy (S21 FE, S22, S23)

  • cleaner optimization,
  • discreet swap,
  • stable responsiveness.

Very high-end Galaxy (S23 Ultra, S24 Ultra, Fold/Flip)

  • memory management close to an ultraportable PC,
  • almost invisible swap,
  • exceptional multitasking app retention.

Samsung adjusts aggressiveness according to the phone’s power to find a consistent balance.