Hi everyone,
I’m encountering an issue with setting memory limits for my serverless function on Vercel. I’ve configured the memory allocation in my vercel.json as follows:
json
Копировать код
{ "functions": { "api/main_flow.py": { "memory": 128 } }, "routes": [ { "src": "/.*", "dest": "api/main_flow.py" } ]}Despite this configuration, the memory setting doesn’t seem to apply. When I check the logs after deployment, I see that the memory is still set to 1024 MB, as shown in the attached screenshot.
Could someone help me understand why my memory configuration isn’t taking effect? Am I missing something in my setup or configuration?
Thanks in advance for any guidance!



