{"version":"2.1.232","anchor":"macos-background-low-memory-check-uses-a-built-in-memory-pre","canonical_anchor":"macos-background-low-memory-check-uses-a-built-in-memory-pre","heading":"macOS background low-memory check uses a built-in memory pressure API","tier":"internal","area":"Background Agents","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232\/e\/macos-background-low-memory-check-uses-a-built-in-memory-pre","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232","markdown":"### macOS background low-memory check uses a built-in memory pressure API\n\nmacOS memory-pressure checks use a built-in API and log warnings instead of throwing.\n\n**What**\n\nOn macOS, the check that retires background work under memory pressure no longer loads a system library to call `sysctlbyname`; it uses Bun's memory pressure API and retires at critical pressure. Failures now log a warning rather than throwing.\n\n**Details**\n\n- Normal, warning and critical pressure map to levels 1, 2 and 4.\n- Other platforms are unchanged: free memory is compared against a threshold that defaults to 1024 MB when no server value is set.\n\n**Evidence**\n\n`bg low-mem: memoryPressureLevel failed: `\n\n- Area: Background Agents\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}