Azure Data Factory copy activity encounters out of memory error

Michael M 105 Reputation points
2024-08-09T17:20:01.9666667+00:00

I am trying to copy data from SQL Server to a blob container using Azure Data Factory. However, the copy activity is failing with the following error:

ErrorCode=SystemErrorOutOfMemory,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=A task failed with out of memory.,Source=Microsoft.DataTransfer.TransferTask,''Type=System.OutOfMemoryException,Message=Exception of type 'System.OutOfMemoryException' was thrown.,Source=Microsoft.DataTransfer.ClientLibrary,'

Can someone please provide any guidance or assistance to resolve this issue? Thank you.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,639 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2024-08-09T17:31:49.8066667+00:00

    Hello Michael M,

    It seems like you are getting "OutOfMemoryException" issue while using self-hosted IR

    Please check the resource usage and concurrent-activity-execution on the IR node.

    If there is not enough memory left to support this run, the error message is by design

    Mitigation:

    You will need to adjust the trigger time and interval of activity runs to prevent too many activities from executing on the same IR node simultaneously.

    I hope this help. Please let me know if you have any further questions.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.