How to fix OutOfMemory issue while running Azure Durable functions

Meghana Dhage 0 Reputation points
2024-09-12T12:28:02.1466667+00:00

Hello,

I have created an azure durable function in PowerShell script to access prod MS Teams data using graph API for compliance report to be fetched. But while testing, getting "OutOfMemory" issue even though the Azure function created in a dedicated service plan with Max memory allocation. If anyone can help on this and face similar issue, then need a solution on this?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,029 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,183 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,552 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Robin Sheng-MSFT 3,135 Reputation points Microsoft Vendor
    2024-09-13T02:57:46.9466667+00:00

    Hi @Meghana Dhage

    Teams tag is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your question is not in our support scope.

    The following suggestion is for your reference: Please check the platform configuration of your Function App: Function -> Configuration -> General Settings -> Platform

    32-bit will have fewer private bytes and it can encounter out of memory exceptions even if the instance has a much larger capacity. If this is the case, it is recommended that you upgrade to 64-bit.

    User's image

    Ref: https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-troubleshooting-guide


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.