ednsinf

Results 4 comments of ednsinf

Not works after add reference is a bug in project

This error occurs here LiteDB\Engine\Engine\Transaction.cs -> AutoTransaction line 93 ![image](https://github.com/user-attachments/assets/a6b615f6-b21d-4a53-8ce2-d5f3cf730012)

More details: at System.IO.MemoryStream.set_Capacity(Int32 value) at System.IO.MemoryStream.EnsureCapacity(Int32 value) at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count) at LiteDB.Engine.ConcurrentStream.Write(Byte[] buffer, Int32 offset, Int32 count) in C:\LiteDB\Engine\Disk\Streams\ConcurrentStream.cs:line 75 at LiteDB.Engine.DiskService.WriteDataDisk(IEnumerable`1 pages) in C:\LiteDB\Engine\Disk\DiskService.cs:line...

Sugested solution to fix Memory Alocation error and inprove performance: File: LiteDB\Engine\Disk\StreamFactory\StreamFactory.cs - line 33 ``` public Stream GetStream(bool canWrite, bool sequencial) { const int bufferSize = 81920; // 80...