Share via

How to fix OutOfMemory issue while running Azure Durable functions

Anonymous
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.

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.