| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:5430c370-9dd3-60e6-48b1-326da2feba77 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9926:3A1ACB:71D6E2:9C182C:6964F93D |
| html-safe-nonce | 5ae875e5dfb4d3972214b804e9027eb44b5c2412de3d7bff457f375954366c67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTI2OjNBMUFDQjo3MUQ2RTI6OUMxODJDOjY5NjRGOTNEIiwidmlzaXRvcl9pZCI6IjQwNTk0MTQ3MjU1NjY3MjQ0MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1e444b5567b82d9f859ba25da1a7fbb8abaac4efa7be200e6789627978065bfe |
| hovercard-subject-tag | pull_request:3123919066 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/simstudioai/sim/2527/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/64a5d80f1dd18212870c1963ed3d277196c10ebed0e2c1c1ac63d2d7f14d6bfd/simstudioai/sim/pull/2527 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/64a5d80f1dd18212870c1963ed3d277196c10ebed0e2c1c1ac63d2d7f14d6bfd/simstudioai/sim/pull/2527 |
| og:image:alt | Summary
This PR addresses memory exhaustion issues that occur when running workflows with loops containing agent blocks that make many tool calls (e.g., MCP file operations).
Fixes #2525
Problem
Me... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aadamsx |
| hostname | github.com |
| expected-hostname | github.com |
| None | 003e962bf5ca78f3f8f71db2461c6a7f9cfcbe99b480d6aeddaef78d33e9161a |
| turbo-cache-control | no-preview |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 21cbf6733480c5c09366f15b8dc8b6953472172a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/2527#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F2527 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F2527 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/2527 |
| Reload | https://github.com/simstudioai/sim/pull/2527 |
| Reload | https://github.com/simstudioai/sim/pull/2527 |
|
simstudioai
| https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
|
Notifications
| https://github.com/login?return_to=%2Fsimstudioai%2Fsim |
|
Fork
3.2k
| https://github.com/login?return_to=%2Fsimstudioai%2Fsim |
|
Star
25.5k
| https://github.com/login?return_to=%2Fsimstudioai%2Fsim |
|
Code
| https://github.com/simstudioai/sim |
|
Issues
97
| https://github.com/simstudioai/sim/issues |
|
Pull requests
50
| https://github.com/simstudioai/sim/pulls |
|
Actions
| https://github.com/simstudioai/sim/actions |
|
Projects
0
| https://github.com/simstudioai/sim/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/simstudioai/sim/security |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
|
Insights
| https://github.com/simstudioai/sim/pulse |
|
Code
| https://github.com/simstudioai/sim |
|
Issues
| https://github.com/simstudioai/sim/issues |
|
Pull requests
| https://github.com/simstudioai/sim/pulls |
|
Actions
| https://github.com/simstudioai/sim/actions |
|
Projects
| https://github.com/simstudioai/sim/projects |
|
Security
| https://github.com/simstudioai/sim/security |
|
Insights
| https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/simstudioai/sim/pull/2527#issue-comment-box |
| aadamsx | https://github.com/aadamsx |
| simstudioai:staging | https://github.com/simstudioai/sim/tree/staging |
| aadamsx:fix/memory-accumulation-in-loops | https://github.com/aadamsx/sim/tree/fix/memory-accumulation-in-loops |
|
fix: prevent memory exhaustion in loops with bounded iteration outputs
| https://github.com/simstudioai/sim/pull/2527#top |
| aadamsx | https://github.com/aadamsx |
| simstudioai:staging | https://github.com/simstudioai/sim/tree/staging |
| aadamsx:fix/memory-accumulation-in-loops | https://github.com/aadamsx/sim/tree/fix/memory-accumulation-in-loops |
|
Conversation
5
| https://github.com/simstudioai/sim/pull/2527 |
|
Commits
8
| https://github.com/simstudioai/sim/pull/2527/commits |
|
Checks
2
| https://github.com/simstudioai/sim/pull/2527/checks |
|
Files changed
4
| https://github.com/simstudioai/sim/pull/2527/files |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/{{ revealButtonHref }} |
|
| https://github.com/aadamsx |
| aadamsx | https://github.com/aadamsx |
| Dec 22, 2025 | https://github.com/simstudioai/sim/pull/2527#issue-3754888337 |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
| #2525 | https://github.com/simstudioai/sim/issues/2525 |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
| icecrasher321 | https://github.com/icecrasher321 |
| December 18, 2025 16:23 | https://github.com/simstudioai/sim/pull/2527#commits-pushed-eb07a08 |
|
| https://github.com/icecrasher321 |
| v0.5.35: helm updates, copilot improvements, 404 for docs, salesforce… | https://github.com/simstudioai/sim/pull/2527/commits/eb07a080fbb6f733cc954009fd5014fda31a1e07 |
| eb07a08 | https://github.com/simstudioai/sim/pull/2527/commits/eb07a080fbb6f733cc954009fd5014fda31a1e07 |
|
| https://github.com/waleedlatif1 |
| v0.5.36: hitl improvements, opengraph, slack fixes, one-click unsubsc… | https://github.com/simstudioai/sim/pull/2527/commits/4d1a9a3f22370d684c21a9fc2bc5b8a7d1ff2363 |
| 4d1a9a3 | https://github.com/simstudioai/sim/pull/2527/commits/4d1a9a3f22370d684c21a9fc2bc5b8a7d1ff2363 |
|
| https://github.com/Lutherwaves |
| fix(helm): add custom egress rules to realtime network policy ( | https://github.com/simstudioai/sim/pull/2527/commits/4431a1a48486e2049c36873fe9e606468e639f98 |
| simstu… | https://github.com/simstudioai/sim/pull/2481 |
| 4431a1a | https://github.com/simstudioai/sim/pull/2527/commits/4431a1a48486e2049c36873fe9e606468e639f98 |
| …dioai#2481 | https://github.com/simstudioai/sim/pull/2481 |
|
| https://github.com/waleedlatif1 |
| v0.5.37: redaction utils consolidation, logs updates, autoconnect imp… | https://github.com/simstudioai/sim/pull/2527/commits/3e697d9ed96909e8f8aa88db37704a8d8510b2fe |
| 3e697d9 | https://github.com/simstudioai/sim/pull/2527/commits/3e697d9ed96909e8f8aa88db37704a8d8510b2fe |
|
| https://github.com/waleedlatif1 |
| v0.5.38: snap to grid, copilot ux improvements, billing line items | https://github.com/simstudioai/sim/pull/2527/commits/4827866f9acb5a28c1b8524edd7f6de8338beb28 |
| 4827866 | https://github.com/simstudioai/sim/pull/2527/commits/4827866f9acb5a28c1b8524edd7f6de8338beb28 |
|
| https://github.com/waleedlatif1 |
| v0.5.39: notion, workflow variables fixes | https://github.com/simstudioai/sim/pull/2527/commits/0f4ec962aded6957c9653e7f7b7fe5a2e46a8643 |
| 0f4ec96 | https://github.com/simstudioai/sim/pull/2527/commits/0f4ec962aded6957c9653e7f7b7fe5a2e46a8643 |
|
| https://github.com/icecrasher321 |
| v0.5.40: supabase ops to allow non-public schemas, jira uuid | https://github.com/simstudioai/sim/pull/2527/commits/3d9d9cbc54cae2ea88b3dc7da05ce83630465065 |
| 3d9d9cb | https://github.com/simstudioai/sim/pull/2527/commits/3d9d9cbc54cae2ea88b3dc7da05ce83630465065 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Dec 22, 2025 | https://github.com/simstudioai/sim/pull/2527#issuecomment-3683729147 |
| @aadamsx | https://github.com/aadamsx |
| Vercel | https://vercel.com |
| authorize it | https://vercel.com/git/authorize?team=Sim&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%22aae7c409ad7009a568b386a8e44fc093511bebd6%22%7D%2C%22id%22%3A%22QmTVCvJFcVQDCFTPdbR2j5Zjjdmo5yeCMmR8hebtuKVPth%22%2C%22org%22%3A%22simstudioai%22%2C%22prId%22%3A2527%2C%22repo%22%3A%22sim%22%7D |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
| Dec 22, 2025 | https://github.com/simstudioai/sim/pull/2527#issuecomment-3683757410 |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Dec 22, 2025
| https://github.com/simstudioai/sim/pull/2527#pullrequestreview-3605372333 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/2527/files |
| greptile-apps | https://github.com/apps/greptile-apps |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
| https://github.com/simstudioai/sim/pull/2527#pullrequestreview-3605372333 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| link | https://github.com/simstudioai/sim/blob/aae7c409ad7009a568b386a8e44fc093511bebd6/apps/sim/executor/orchestrators/loop.ts#L519-L529 |
| link | https://github.com/simstudioai/sim/blob/aae7c409ad7009a568b386a8e44fc093511bebd6/apps/sim/executor/execution/block-executor.ts#L704-L710 |
| link | https://github.com/simstudioai/sim/blob/aae7c409ad7009a568b386a8e44fc093511bebd6/apps/sim/executor/orchestrators/loop.ts#L519-L529 |
| link | https://github.com/simstudioai/sim/blob/aae7c409ad7009a568b386a8e44fc093511bebd6/apps/sim/executor/orchestrators/loop.ts#L483-L494 |
| link | https://github.com/simstudioai/sim/blob/aae7c409ad7009a568b386a8e44fc093511bebd6/apps/sim/executor/execution/block-executor.ts#L673-L682 |
| Edit Code Review Agent Settings | https://app.greptile.com/review/github |
| Greptile | https://greptile.com?utm_source=greptile_expert&utm_medium=github&utm_campaign=code_reviews&utm_content=sim_2527 |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
|
| https://github.com/aadamsx |
| fix: prevent memory exhaustion in loops with bounded iteration outputs | https://github.com/simstudioai/sim/pull/2527/commits/387efb6c7462778715f4d7568c32c4e498c96cd4 |
| 387efb6 | https://github.com/simstudioai/sim/pull/2527/commits/387efb6c7462778715f4d7568c32c4e498c96cd4 |
| simstudioai#2525 | https://github.com/simstudioai/sim/issues/2525 |
| https://github.com/aadamsx |
| aadamsx | https://github.com/aadamsx |
| force-pushed | https://github.com/simstudioai/sim/compare/36bbe99acd33fd3e046003572ae986f771eb5b67..387efb6c7462778715f4d7568c32c4e498c96cd4 |
| 36bbe99 | https://github.com/simstudioai/sim/commit/36bbe99acd33fd3e046003572ae986f771eb5b67 |
| 387efb6 | https://github.com/simstudioai/sim/commit/387efb6c7462778715f4d7568c32c4e498c96cd4 |
|
Compare
| https://github.com/simstudioai/sim/compare/36bbe99acd33fd3e046003572ae986f771eb5b67..387efb6c7462778715f4d7568c32c4e498c96cd4 |
| December 22, 2025 19:19 | https://github.com/simstudioai/sim/pull/2527#event-21711418202 |
| https://github.com/aadamsx |
| aadamsx | https://github.com/aadamsx |
| Dec 27, 2025 | https://github.com/simstudioai/sim/pull/2527#issuecomment-3693587704 |
| aae7c40 | https://github.com/simstudioai/sim/commit/aae7c409ad7009a568b386a8e44fc093511bebd6 |
| 387efb6 | https://github.com/simstudioai/sim/commit/387efb6c7462778715f4d7568c32c4e498c96cd4 |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
| https://github.com/aadamsx |
| aadamsx | https://github.com/aadamsx |
| December 27, 2025 03:07 | https://github.com/simstudioai/sim/pull/2527#event-21763263492 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| December 27, 2025 05:25 | https://github.com/simstudioai/sim/pull/2527#event-21763833531 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| Dec 27, 2025 | https://github.com/simstudioai/sim/pull/2527#event-21763833543 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
| Dec 27, 2025 | https://github.com/simstudioai/sim/pull/2527#event-21763837554 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Dec 27, 2025
| https://github.com/simstudioai/sim/pull/2527#pullrequestreview-3614074926 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/2527/files/387efb6c7462778715f4d7568c32c4e498c96cd4 |
| greptile-apps | https://github.com/apps/greptile-apps |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
| https://github.com/simstudioai/sim/pull/2527#pullrequestreview-3614074926 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| link | https://github.com/simstudioai/sim/blob/387efb6c7462778715f4d7568c32c4e498c96cd4/apps/sim/executor/orchestrators/loop.ts#L496-L497 |
| Edit Code Review Agent Settings | https://app.greptile.com/review/github |
| Greptile | https://greptile.com?utm_source=greptile_expert&utm_medium=github&utm_campaign=code_reviews&utm_content=sim_2527 |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F2527 |
|
| https://github.com/apps/greptile-apps |
|
greptile-apps[bot]
| https://github.com/apps/greptile-apps |
|
| https://github.com/simstudioai/sim/pull/2527/files/387efb6c7462778715f4d7568c32c4e498c96cd4 |
|
Memory exhaustion in loop executions with agent blocks making tool calls
| https://github.com/simstudioai/sim/issues/2525 |
| Please reload this page | https://github.com/simstudioai/sim/pull/2527 |
|
| https://github.com/aadamsx |
|
| https://github.com/waleedlatif1 |
|
| https://github.com/icecrasher321 |
|
| https://github.com/Lutherwaves |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |