-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] System.OutOfMemoryException - LiteDatabase in memory #2541
Comments
Can you provide a repro? |
More details: |
Sugested solution to fix Memory Alocation error and inprove performance:
|
You are always more than welcome to open a pr including the fix and tests |
Bug not resolved. When I use LiteDatabase in memory and use bulkinsert and insert in 1k to 1k rows (using transaction our not) and shows memory erros always. Please verify thanks.
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)
at LiteDB.Engine.DiskService.WriteLogDisk(IEnumerable`1 pages)
at LiteDB.Engine.TransactionService.PersistDirtyPages(Boolean commit)
at LiteDB.Engine.TransactionService.Commit()
at LiteDB.Engine.LiteEngine.CommitAndReleaseTransaction(TransactionService transaction)
at LiteDB.Engine.LiteEngine.Commit()
The text was updated successfully, but these errors were encountered: