Kusto: I am trying to read 23594558+ records getting OutOfMemoryException error.

VS 6 Reputation points Microsoft Employee

Try to copy data from Kusto to ADLSGen2 lake

getting "OutOfMemoryException"

Kusto Query:
set notruncation;
set truncationmaxsize=459000000;
| distinct Id

Please let me know the if you know any solution/workaround

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
496 questions
{count} votes

1 answer

Sort by: Most helpful
  1. mckreddy 0 Reputation points Microsoft Employee

    Use the following commands before your command.

    set maxmemoryconsumptionperiterator=68719476736000;

    set notruncation;

    The best way to export data from Azure Data Explorer to ADLS GEN2 is using ADF Copy activity.

    0 comments No comments