# 使用 Homebrew, apk, MacPorts 安装 eatmemory

查看 eatmemory 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:eatmemory
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install eatmemory
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install eatmemory
```

  证据: MacPorts ports tree: sysutils/eatmemory/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add eatmemory
```

  证据: Alpine Linux edge package indexes: eatmemory from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

## 软件包事实

- **软件包键:** brew:eatmemory
- **软件包管理器:** Homebrew
- **版本:** 1.1.0
- **来源摘要:** Simple program to allocate memory from the command-line
- **主页:** <https://github.com/julman99/eatmemory>
- **仓库:** <https://github.com/julman99/eatmemory>
- **最后更新:** 2026-05-15T16:21:06Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- eatmemory (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.1.0
## 项目历史与用法

eatmemory is a tiny command-line utility that allocates and holds a requested amount of RAM. Its significance is practical: it gives operators and developers a simple, packageable way to create memory pressure without installing a large stress-testing suite.

### 项目历史

The public repository was created in August 2012. The README frames the tool as a one-job C99 binary that allocates, verifies, holds, and frees resident committed memory.

Recent releases show the project being modernized rather than expanded into a suite. Version 1.0.0 added broader platform work, CI organization, and release binaries; version 1.1.0 followed in May 2026 with packaged binaries for multiple Linux, macOS, and Windows architectures.

### 采用历史

The input metadata records packaging in Homebrew, MacPorts, and Alpine. The upstream README also documents Homebrew installation and an official Docker image, which fits the tool's common use in local, container, and CI memory-limit tests.

### 使用方式

Users run commands such as `eatmemory 1G` or percentage-based allocations to test swap, container memory limits, Kubernetes eviction behavior, alerts, degradation under pressure, autoscaling, and noisy-neighbor scenarios.

### 为什么软件包爱好者会关心

eatmemory is a good example of the Unix packaging sweet spot: a tiny C tool with no runtime dependencies, obvious behavior, and measurable operational value. It overlaps with stress-ng but intentionally keeps the interface narrow.

### 时间线

- 2012: Public repository created.
- 2015: v0.1.4 release published.
- 2023: v0.1.9 added timed exit and improved argument parsing.
- 2026: v1.0.0 and v1.1.0 releases added modern release binaries and platform support.

### Related projects

- stress-ng is the comparison tool named by the README. The README also documents Docker Hub image usage for container memory testing.

### 来源

- <https://github.com/julman99/eatmemory>
- <https://github.com/julman99/eatmemory/releases/tag/v1.0.0>
- <https://github.com/julman99/eatmemory/releases/tag/v1.1.0>


## 安全说明

没有找到 eatmemory 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- apk - eatmemory - 0.1.6-r2: normalized package name match | Alpine Linux edge package indexes: eatmemory from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Simple C program to allocate memory from the command line | https://github.com/julman99/eatmemory
- MacPorts - eatmemory: normalized package name match | MacPorts ports tree: sysutils/eatmemory/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/eatmemory.yml](https://github.com/mxcl/pkgdb/blob/main/combined/eatmemory.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
