Closed utterances-bot closed 1 year ago
Hey Brice, I use the SqliteBlob to stream Files from/to Sqlite. The insert works flawless, but when I get the file as a stream out of the sqlite DB the memory spikes additional to the full size of the file (which was the main reason for me to avoid this with streaming). The spike is at the ExecuteReader line, I've also tried to set the CommandBehaviour to SequentialAccess but this also changes nothing. Any help would be highly recommended.
(We investigated the allocation in https://github.com/dotnet/efcore/issues/24312)
Microsoft.Data.Sqlite 3.0 | Brice’s Blog
Version 3.0 of Microsoft.Data.Sqlite is available on NuGet. It was released alongside the rest of .NET Core 3.0 at .NET Conf.
https://www.bricelam.net/2019/08/22/microsoft-data-sqlite-3-0.html