Tomas Loukotka
Tomas Loukotka4mo ago

Apify MCP memory parameter

Hello, trying to build prototypes using MastraAI and MCP servers. I was able to successfully integrate via stdio, but am lacking the possibility to either instruct agent or set in env the amount of memory actor run should take. It will help me overcome my memory usage limits. Is there such possibility and I am overlooking it, or is there planned st like that? Thanks
1 Reply
Oleg V.
Oleg V.3mo ago
Did you try to set it via actor.json file + var ? https://docs.apify.com/platform/actors/development/actor-definition/actor-json https://docs.apify.com/cli/docs/vars variable is APIFY_MEMORY_MBYTES: https://docs.apify.com/sdk/js/docs/guides/environment-variables#apify_memory_mbytes Or maybe You can go to your Actor's "Settings" tab on the platform and set there default memory value.

Did you find this page helpful?