Skip to content
Theme
OnDevice Tools

AndroidAndroid OS

Android 18 Beta 1 adds soft memory limits for background apps

Google has released the first beta of Android 18, with per-process memory limits for background services, a Photo Picker camera tile and a faster beta cadence.

Illustration of a Google Pixel phone showing an Android 18 beta memory settings screen

Key takeaways

  • Google released Android 18 Beta 1 on 4 December 2026, starting a roughly two-week beta cycle.
  • Beta 1 adds per-process soft memory limits for background services, scaled by service role and device RAM.
  • Crossing a soft limit does not close an app; the kernel reclaims cold pages and compresses idle heap into zRAM.
  • Platform Stability is targeted for February, and Android 18 is API level 38 with NDK updates.
In this article
  1. What Android 18 Beta 1 brings
  2. How the soft memory limits work
  3. Which services are covered and exempt
  4. Advice for developers and the release timeline
  5. Who can try it now

What Android 18 Beta 1 brings

Illustration: code, Android logo, Google logo, camera and the labels Android 17, Android 18, Android Runtime

Google has released the first beta of Android 18, according to the Android Developers Blog. The post is dated 4 December 2026. It opens a new beta cycle that runs roughly every two weeks.

The build focuses on privacy, security and what Google calls refined performance. Beta 1 adds per-process soft memory limits for background services, which is the main change in this release.

Other items listed for Beta 1 include new Photo Picker features with an inline camera tile. The Android Runtime, the part of the system that runs app code, also gets time-based garbage collection by default, plus verification updates. Google also notes further work on desktop windowing and adaptive form factors.

How the soft memory limits work

The memory work extends changes Google made across Android 17. The aim is to keep more apps warm in RAM, the fast working memory a phone uses, so they reopen quickly instead of showing a cold splash screen.

Many apps and games run a foreground service, a task the system treats as active, inside the same process as their screen. Once the screen is gone, that service can keep the whole process at a higher priority and hold on to old screen data, decoded images and graphics buffers.

Under Android 18, a soft limit applies to an app process that runs a service with no visible screen. The limit is scaled by the role of the service and by how much RAM the device has.

Google says crossing a soft limit will not by itself close an app. Instead the kernel, the core of the operating system, quietly removes cold file-backed pages from memory and compresses idle private heap pages into swap, known as zRAM.

Which services are covered and exempt

The limits cover most foreground service types, Google says. Examples given are dataSync, mediaPlayback, location, connectedDevice and specialUse. Persistent system-bound services such as NotificationListenerService are included too. If one process holds several active roles, the most generous limit applies.

Some cases stay exempt. Processes with visible screens, including split-screen and Picture-in-Picture, are not limited. Real-time capture and communication types, listed as camera, microphone and phoneCall, are also exempt.

Google says most apps need no code changes, because untouched allocations are paged out automatically. Work slows mainly when a service's own active memory use passes its soft limit, which causes page faults as evicted files reload or swapped pages expand again.

Advice for developers and the release timeline

For apps that still feel memory pressure, Google suggests releasing hidden screen state promptly. That means decoding bitmaps at exact display sizes, clearing hidden UI caches in Activity.onStop(), and calling stopSelf() once background work ends.

It also suggests matching the design to the job. Media apps can keep playback in the main process while freeing unused codecs and bitmap caches. Games can stream audio and asset banks on demand. Large downloads can move to WorkManager or user-initiated data transfer jobs.

Developers can inspect active service roles, thresholds and live budget sources on a Beta 1 device using ADB, a command line tool for connecting to Android hardware. Google points to its Memory Limiter, App Memory Budgets, Android Memory Optimization Guide and MemoryBudgetManager documentation for details.

Android 18 is API level 38, Google's annual major SDK release, and it can include app-breaking behaviour changes. It is also the only release with Android NDK updates. The Platform Stability milestone is targeted for February, with final APIs and largely final app-facing behaviour. Google plans quarterly releases after that, with planned breaking changes only in the Q2 release.

Who can try it now

Enrolment is open on supported Pixel devices and on 64-bit Android Emulator system images, according to Google. Once set up, devices receive new drops automatically as each build passes internal validation.

The Android 18 beta runs alongside the closing stage of the Android 17 QPR3 beta. Google says this gives developers an early look at the next platform without stopping quarterly validation work.

Readers should treat the details as beta behaviour that may change before release. Google's developer site and the Android 18 release documentation are the place to check for later builds and final behaviour.

Sources

  1. The first beta of Android 18Android Developers Blog

Tags

Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.