Automic VaultAutomic Vault

brew

Install memtester with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman

Utility for testing the memory subsystem. Version 4.7.1 via Homebrew; verified 2026-07-04.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install memtester

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install memtester

MacPorts ports tree · sysutils/memtester/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add memtester

Alpine Linux edge package indexes · memtester · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install memtester

Debian stable package indexes · memtester · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install memtester

Fedora Rawhide package metadata · memtester · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#memtester

nixpkgs package indexes · pkgs/by-name/me/memtester/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S memtester

Arch Linux sync databases · memtester · source: geo.mirror.pkgbuild.com

overview

Package summary

Utility for testing the memory subsystem

Commands and aliases

  • memtester

history

Project history and usage

memtester is a GPL-2-only userspace utility for stress-testing a computer's memory subsystem for faults. Unlike boot-time memory-test environments, it runs under Unix-like operating systems and allocates memory from userspace.

Project history

The upstream README credits the original source to Simon Kirby in 1999, version 2 to Charles Cazabon in 1999, notes that version 3 was not publicly released, and describes version 4 as a 2004 rewrite by Cazabon. The rewrite focused on replacing hacky earlier code, improving portability, and making the tester fully 64-bit aware.

The project page says memtester is portable across 32- and 64-bit Unix-like systems, including unusual proprietary Unix systems and Mac OS X. The 4.x changelog shows steady maintenance from the 2004 rewrite through 2024, with changes for 64-bit offsets, physical-address testing, portability fixes, compiler compatibility, and hardware-developer use cases.

Adoption history

memtester became a standard small system-utility package because it solves a practical diagnostic problem without needing a boot disk. The official page says prebuilt executables are included with or available for many operating systems and mentions Debian, Ubuntu, Fedora/DAG packages, NetBSD ports, MacPorts, and Solaris/SunOS sources; the batch input additionally lists apk, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and zypper package names.

How it is used

The basic invocation is `memtester <memory> [runs]`, usually as root so pages can be locked with `mlock`. The man page warns that unlocked testing is slower and less effective, that users must choose a safe allocation size, and that overcommitting memory can make a system unusable or trigger an out-of-memory killer.

Hardware developers can use `-p` with an optional `-d` device to test a physical memory region mapped through `/dev/mem` or another device, and newer releases include options such as `-u` for uncached memory semantics on some systems. `MEMTESTER_TEST_MASK` can limit which tests run.

Why package nerds care

memtester is a classic sysadmin package: tiny C source, no elaborate build system, broad Unix portability, a man page, and a job that is easiest to trust when installed from the system package manager. It is also valuable to embedded and hardware bring-up workflows where userspace physical-memory testing is useful.

Timeline

  • 1999: Original source by Simon Kirby; version 2 copyright by Charles Cazabon.
  • 2004-08-07: memtester 4.0.0 rewrite released for cleaner code, portability, and 64-bit awareness.
  • 2009-07-23: memtester 4.1.0 adds physical-region testing with `-p`.
  • 2012-06-09: memtester 4.3.0 adds alternate device mapping and MEMTESTER_TEST_MASK.
  • 2024-12-16: memtester 4.7.1 fixes stricter C23/gcc-15 compile compatibility.

Related projects

  • memtester is related to boot-time memory testers and hardware diagnostic tools, but its niche is userspace Unix testing. It is commonly packaged alongside other low-level system utilities rather than developer profilers.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
memtestercliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.7.1
manager updated2026-07-04
local dataok
upstreamnot checked
latest detectednot detected

https://pyropus.ca/software/memtester/

install metadata

Package metadata

Package keybrew:memtester
Version4.7.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/memtester
Homepagehttps://pyropus.ca/software/memtester/
Upstream docshttps://pyropus.ca/software/memtester
LicenseGPL-2.0-only
Source archivehttps://pyropus.ca./software/memtester/old-versions/memtester-4.7.1.tar.gz
Last updated2026-07-04T13:13:43+09:00
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namememtester
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

memtester 4.7.1-1

Utility for testing the memory subsystem

http://pyropus.ca/software/memtester/

sudo apt install memtester
  • Section: utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Memtester
Debian stable package indexes · deb.debian.org · Debian stable package indexes: memtester from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

memtester

nix profile install nixpkgs#memtester
  • normalized package name match
  • Matched by: Memtester
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/me/memtester/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

memtester 4.6.0-1

Utility for testing the memory subsystem

http://pyropus.ca/software/memtester/

sudo apt install memtester
  • Section: universe/utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Memtester
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: memtester from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

memtester 4.7.1-r0

userspace utility for testing the memory subsystem for faults

https://pyropus.ca/software/memtester/

sudo apk add memtester
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: memtester
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Memtester
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: memtester from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

memtester-doc 4.7.1-r0

userspace utility for testing the memory subsystem for faults (documentation)

https://pyropus.ca/software/memtester/

sudo apk add memtester-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: memtester
  • normalized package name match
  • Matched by: Memtester
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: memtester-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

memtester-static 4.7.1-r0

userspace utility for testing the memory subsystem for faults

https://pyropus.ca/software/memtester/

sudo apk add memtester-static
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: memtester
  • 1 provides
  • normalized package name match
  • Matched by: Memtester
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: memtester-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

memtester 4.7.1-3.fc44

Utility to test for faulty memory subsystem

http://pyropus.ca/software/memtester/

sudo dnf install memtester
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: memtester
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Memtester
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: memtester from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

memtester 4.7.1-1

A userspace utility for testing the memory subsystem for faults

https://pyropus.ca./software/memtester/

sudo pacman -S memtester
  • License: GPL-2.0-only
  • Architecture: x86_64
  • normalized package name match
  • Matched by: Memtester
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: memtester from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

memtester

sudo port install memtester
  • normalized package name match
  • Matched by: Memtester
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/memtester/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment