{
  "slug": "flyctl-machine-run-and-update-accept-vm-max-memory-1bcd5e429b48",
  "title": "flyctl machine run and update accept --vm-max-memory",
  "tools": [
    "flyctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-23T19:26:42.000Z",
  "announced_at": "2026-03-23T19:26:42.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When running a new machine or updating an existing one, pass `--vm-max-memory <memory>` to set its maximum memory in MB. The v0.4.27 source documents the flag as hidden and rejects zero or invalid sizes.",
    "examples": [
      "fly machine run <image> --vm-max-memory <memory> --app <app-name>",
      "fly machine update <machine-id> --vm-max-memory <memory> --app <app-name>"
    ],
    "gotchas": [
      "Version: v0.4.27",
      "--vm-max-memory <memory>: Maximum memory, in megabytes, allowed for the VM. Parsed as a size; zero is rejected. The flag is hidden and has no alias.",
      "<image> (required): Image or Dockerfile path argument for `machine run`.",
      "<machine-id> (required): Machine identifier argument for `machine update`.",
      "--app <app-name>: Application name; the run command source lists the app flag.",
      "Docs conflict: The run command source page is on master, newer than v0.4.27; it is used only for the `<image>` argument, not for the new flag behavior."
    ]
  },
  "why_it_matters": "Set a machine's maximum memory while running or updating it.",
  "sources": [
    "https://github.com/superfly/flyctl/releases/tag/v0.4.27",
    "https://github.com/superfly/flyctl/pull/4793",
    "https://github.com/superfly/flyctl/blob/v0.4.27/internal/flag/machines.go",
    "https://github.com/superfly/flyctl/blob/master/internal/command/machine/run.go"
  ],
  "rank": 0.92028,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-599b0a645f2cc2b7-0:gate",
    "evidence_hash": "ea08dfe44c7e3aa76fae55ee5b9076a2b6830c181324852c8c50fc46afbe644f"
  },
  "review": {
    "draft_hash": "e64ed35085e06994b77eddf87fc691159182545a9d8f9b3583cf8e5e7d9ad02b",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.77 (>= 0.6 needed)."
  }
}
