Skip to main content

MemBrowse logo

MemBrowse

No more MEMORY { FLASH, RAM } surprises.

PyPI version Python Versions License: GPL v3 Downloads GitHub Marketplace — verified creator GitHub stars

MemBrowse is continuous memory footprint tracking for firmware: flash and RAM on every commit, for every target, with the full history.

A size script or the linker tells you how big today's build is. MemBrowse keeps every build, so when flash climbs you can see which pull request used it, instead of bisecting weeks of commits after the linker fails.

  • Every pull request gets a comment with the bytes it adds or removes per region, and the symbols that grew.
  • Every target keeps its history, so "where did the flash go last month?" has an answer.
  • Every product shows on one screen with how close it is to its limit, and budgets fail CI before a target runs out.

The CLI works locally with no account. Sign up free for PR comments, history and budgets.

📖 Documentation: docs.membrowse.com

Flash usage per commit for one board, jumping from 77% to 93% on the commit 'Update TLS library' (+81.92 KB)

Firmware teams tracking memory with MemBrowse

TinyUSB
TinyUSB
Meshtastic
Meshtastic
Apache NuttX
Apache NuttX
Flipper Devices
Flipper Devices
ZSWatch
ZSWatch
wolfSSL
wolfSSL
RT-Thread
RT-Thread
Adafruit
Adafruit
CMRX
CMRX
SuperTinyKernel
SuperTinyKernel
Wilderness Labs
Wilderness Labs
Rabbit Hole Computing
Rabbit Hole Computing

"Loving MemBrowse so far. We've been trying to hand-roll solutions to this for far too long, and they just kept breaking." — Austin, Meshtastic

See the public dashboards →

Quick Start

Analyze your firmware locally (no account required)

pip install membrowse

membrowse report build/firmware.elf "src/linker.ld"

Example output:

ELF Metadata: build/firmware.elf  |  Arch: ARM  |  Machine: EM_ARM  |  Toolchain: gcc-10.3.1  |  Entry: 0x0802015d  |  Type: ET_EXEC
==========================================================================================================================================================

Region               Address Range                                Size                Used                Free  Utilization
--------------------------------------------------------------------------------------------------------------------------------------------
FLASH                0x08000000-0x08100000             1,048,576 bytes       365,192 bytes       683,384 bytes  [██████░░░░░░░░░░░░░░] 34.8%
  └─ FLASH_START     0x08000000-0x08004000                16,384 bytes        14,708 bytes         1,676 bytes  [█████████████████░░░] 89.8%
     • .isr_vector              392 bytes
     • .isr_extratext        14,316 bytes
  └─ FLASH_TEXT      0x08020000-0x08100000               917,504 bytes       350,484 bytes       567,020 bytes  [███████░░░░░░░░░░░░░] 38.2%
     • .text                350,476 bytes
RAM                  0x20000000-0x20020000               131,072 bytes        26,960 bytes       104,112 bytes  [████░░░░░░░░░░░░░░░░] 20.6%
  • .bss                     8,476 bytes
  • .heap                   16,384 bytes
  • .stack                   2,048 bytes

Top 20 Largest Symbols
======================

Name                                     Address                    Size  Type       Section              Source
--------------------------------------------------------------------------------------------------------------------------------------------
usb_device                               0x20000a30          5,444 bytes  OBJECT     .bss                 usb.c
mp_qstr_const_pool                       0x08062b70          4,692 bytes  OBJECT     .text                qstr.c
mp_execute_bytecode                      0x080392f9          4,208 bytes  FUNC       .text                vm.c
...

See the CLI reference for JSON output, symbol filtering, uploading and historical onboarding.

Track memory in CI (GitHub Actions)

Add a workflow that reports each push and comments the diff on pull requests:

name: Memory Analysis
on: [push, pull_request]

jobs:
  analyze:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Build firmware
        run: make all # your build commands

      - name: Analyze memory
        uses: membrowse/membrowse-action@v1
        with:
          elf: build/firmware.elf
          ld: "src/linker.ld"
          target_name: stm32f4
          api_key: ${{ secrets.MEMBROWSE_API_KEY }}

      - name: Post PR comment
        if: github.event_name == 'pull_request'
        uses: membrowse/membrowse-action/comment-action@v1
        with:
          api_key: ${{ secrets.MEMBROWSE_API_KEY }}
          commit: ${{ github.event.pull_request.head.sha }}

Add your API key as a repository secret named MEMBROWSE_API_KEY (get one free). The action is published on the GitHub Marketplace by a verified creator.

To fill in the history for existing commits, see onboarding. For budgets, custom comment templates and every action input, see docs.membrowse.com.

Track benchmark metrics

Attach benchmark results (cycle counts, timings, scores) to a commit; MemBrowse plots them next to the memory history and compares them between builds. The target must already have a memory report. Uploading a metric again replaces its value, so separate CI jobs can each post their own.

      - name: Upload benchmark metrics
        uses: membrowse/membrowse-action/metrics-action@v1
        with:
          target_name: stm32f4
          api_key: ${{ secrets.MEMBROWSE_API_KEY }}
          metrics: |
            Boot time=${{ steps.bench.outputs.boot_ms }} ms
            CoreMark=${{ steps.bench.outputs.coremark }}
          # or: metrics_file: bench.json

From any other CI system, or locally:

membrowse metrics -m "Boot time" "$BOOT_MS" ms -m CoreMark "$SCORE" \
    --target-name stm32f4 --api-key "$MEMBROWSE_API_KEY"

membrowse metrics --file bench.json \
    --target-name stm32f4 --api-key "$MEMBROWSE_API_KEY"

bench.json is an array of {"name": "CoreMark", "unit": "score", "value": 389.5} entries (unit is optional), the same array github-action-benchmark takes for custom tools. Run membrowse metrics --help for commit selection (--commit-sha, --github). Like memory reports, pull requests to a public repository can upload metrics without an API key (fork and Dependabot PRs get no secrets); the platform keeps them apart from the metrics your own CI uploads.

Set it up with Claude Code

If you use Claude Code, the MemBrowse plugin finds your build outputs, checks your linker scripts and writes the workflows:

/plugin marketplace add membrowse/membrowse-action
/plugin install membrowse@membrowse-marketplace
/membrowse-integrate

What it reads

MemBrowse reads any ELF file: ARM, RISC-V, Xtensa and more. With DWARF debug info, each symbol is mapped to its source file. Memory regions come from:

  • GNU LD linker scripts (*.ld, *.cmd), including INCLUDEd sub-scripts
  • IAR EWARM ICF files (*.icf)
  • SEGGER Embedded Studio project files (*.emProject)

Linker map files (GNU LD and IAR) add archive and object file attribution. Format detection is based on content, so file extensions don't have to match.

Is your toolchain or layout file not covered? Email support@membrowse.com.

Your code stays in CI

  • Only the JSON report is uploaded. Source code and binaries stay in your CI.
  • The CLI and GitHub Action are open source under GPLv3, so you can read exactly what is sent.
  • On-premise deployment runs MemBrowse entirely inside your network. Point the action at it with api_url. Contact us.

Documentation & Support

License

GPLv3. See LICENSE.

Metadata

Release files for membrowse 1.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for membrowse 1.3.3
File Size Uploaded Provenance Actions
membrowse-1.3.3.tar.gz 373.6 kB With provenance Details for membrowse-1.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for membrowse 1.3.3
File Interpreter ABI Platform Actions
membrowse-1.3.3-py3-none-any.whl Python 3 none any Details for membrowse-1.3.3-py3-none-any.whl

Total release size: 585.6 kB

Release files / membrowse-1.3.3.tar.gz

Download URL membrowse-1.3.3.tar.gz
Size 373.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a2673729a0b1ce2220e0b8ce1981f9b120ad212970d2c1b62cf63b08c5f7fce6
BLAKE2b-256 checksum
How to use checksums
5d3b74390d63a61bbb7f1a125b028445f1b6a48948fcdce2451d789997446484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / membrowse-1.3.3-py3-none-any.whl

Download URL membrowse-1.3.3-py3-none-any.whl
Size 212.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45f5e3de63a0162935c3ce629559ad7219ee2eb2d956ab55cea96c189180c3e7
BLAKE2b-256 checksum
How to use checksums
bd0cab39713fcdcc8c486053ea1fc83802dafa7a1d0d99d6322dfbf22db2d082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for membrowse 1.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for membrowse-1.3.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.3 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page