Hi @Indranil Mondal ,
Please review these memory limits for your functions based on the plan you have chosen https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits
Resource Consumption plan Premium plan Dedicated plan ASE
Max memory (GB per instance) 1.5 3.5-14 1.75-14 3.5 - 14
For example, if you are using consumption plan, you will hit a memory issue when approaching consumption near 1.5 GB . Please choose the appropriate and SKU based on your memory requirements