You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invocationhandler.InvokeAsync will catch any exception and never rethrows. This creates confusing hangs for terminal exceptions such as OutOfMemoryException where the desirable behavior is to crash the process.
You can also reproduce with a more realistic setup of running the worker in a constrained memory environment and allocating above that limit, but this will introduce other variables, such as whether the kernel chooses to kill the process due to being out of memory.
The text was updated successfully, but these errors were encountered:
Description
Invocationhandler.InvokeAsync will catch any exception and never rethrows. This creates confusing hangs for terminal exceptions such as OutOfMemoryException where the desirable behavior is to crash the process.
azure-functions-dotnet-worker/src/DotNetWorker.Grpc/Handlers/InvocationHandler.cs
Lines 116 to 125 in 0f345be
Steps to reproduce
The simplest repro is to explicitly throw out of memory with a function. The worker process will not crash.
You can also reproduce with a more realistic setup of running the worker in a constrained memory environment and allocating above that limit, but this will introduce other variables, such as whether the kernel chooses to kill the process due to being out of memory.
The text was updated successfully, but these errors were encountered: