How To Resolve Azure Function `Stream Too Long` Error

Gerald Rupp 130 Reputation points
2023-11-21T12:16:22.5066667+00:00

Hi everybody,

I am working at the moment on an azure function blob trigger. I want to read out a json file and process it. It works as expected but once the file is very large (~2.5 GiB), things begin to fail. I already increased function timeout to 30min in host.json but the error still appears.

"functionTimeout": "00:30:00"

It seems the file is to big to store in memory. Is this assumption correct? And how can I solve that problem?
With kind regards,
Gerald

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,615 questions
{count} votes