Some sort of infinite loop in SqlDataReader.ReadAsync() ?
- Dominant language
- C#
- Stars
- 989
- Forks
- 340
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 69
Description
A customer reported that reading a single row from the database caused the process to consume 5 GB of memory and crash.
1. The row beeing read has very few columns
2. One of the columns is an xml-column
3. The problem only occurs when the XML-column has large contents (the customer can reproduce with 7MB xml)
4. Apparently Read() works fine, the problem only occurs with ReadAsync()
Attaching screenshot made by customer. I watched this over teams, and this is not the production error, but reproducing using a console app. The call hangs, and memory keeps building.

Contributor guide
Assessment
This issue has not been assessed yet.