refactor(runner): simplify actor.json memory to single defaultMemoryMbytes: 16384 - #25
Open
DaveHanns wants to merge 1 commit into
Open
Conversation
…bytes: 16384 Drops defaultMemoryMbytes: 4096, minMemoryMbytes: 2048, maxMemoryMbytes: 8192 in favor of a single defaultMemoryMbytes: 16384. Apify's platform-wide min/max limits (128 / 32768) apply regardless, so setting them here was pure duplication. The bump from 4096 -> 16384 gives scenarios more headroom by default; task-level overrides can still go up to 32768 for the heavy Playwright cases. Doesn't fix the 2048MB disk cap observed on run.options.diskMbytes for this account (docs say memory * 2, reality shows a fixed 2048) -- that's a separate Apify-support question. This change is scoped to memory only. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Drops
minMemoryMbytes(2048) +maxMemoryMbytes(8192) + olddefaultMemoryMbytes(4096) in favor of a singledefaultMemoryMbytes: 16384.Apify platform limits (128 / 32768) apply anyway. Removing the local min/max was pure duplication.
Companion change
apify/agentic-actor-dev-eval —
manage-tasks.shbumps per-taskmemoryMbytesto 32768 for the Playwright-heavy scenarios (separate PR).Note
The 2048MB disk cap observed on
run.options.diskMbytesin this account is NOT resolved by this change — docs say disk = memory × 2 but reality caps at 2048 regardless. Separate Apify-support question.Generated with Claude Code (https://claude.com/claude-code)