memory_pressure

command
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2026 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Overview

Read memory pressure info from ActivityManager.

Uses the generated IActivityManager proxy via the "activity" binder service. Queries system memory info, memory trim level, and per-process memory state.

Build:

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/memory_pressure ./examples/memory_pressure/
adb push build/memory_pressure /data/local/tmp/ && adb shell /data/local/tmp/memory_pressure

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL