Comments (9)
Did you have error message exception? There is no 4GB limit on database size.
from litedb.
I've repeated it a few times. I've set the sample customer program to add 3 million records. And I run it again. By the 3rd time, I receive a NotImplementedException during an insert.
On Aug 14, 2015, at 6:48 PM, Mauricio David [email protected] wrote:
Did you have error message exception? There is no 4GB limit on database size.
—
Reply to this email directly or view it on GitHub.
from litedb.
I'm seeing great potential but I really have a need for larger data sets. It failed much earlier with the app set to 32 bit.
On Aug 14, 2015, at 6:48 PM, Mauricio David [email protected] wrote:
Did you have error message exception? There is no 4GB limit on database size.
—
Reply to this email directly or view it on GitHub.
from litedb.
I can confirm it happens for me too.
from litedb.
Hi guys! Yes, I do this test and fails to me too. I don't know why yet, but I will investigate this weekend. I guess can be something in FileStream or like that.
from litedb.
Hi @wcmiller3 and @sherry-ummen, bug fund! I simple uint<->long
convert error. I will create a new release for this
from litedb.
ok I tested this. One thing is strange which I am not sure whether its a bug or some OS feature.
so my program is simple
foreach (var index in Enumerable.Range(1, 10000)) {
var emp = new Employee() {
EmployeeID = "owsddyu" + index,
FirstName = "one",
LastName = "two",
Bytearray = new byte[1 * 1000 * 1000]
};
col.Insert(emp);
}
So when its running you can check in the folder that the file size is increasing but after it reached the 4Gb then the updating of the file stops and when you stop the execution then you see the final size which is more that 4Gb depending on for how much time you keep it running.
My doubt is that why after 4Gb it stops showing the file size changing? And when the program is stopped then only it updates the size. Whats going on?
Thanks
from litedb.
Hi @sherry-ummen, do not use Insert
method to bulk many data. Take a look on new unit test: https://github.com/mbdavid/LiteDB/blob/master/UnitTest/BigFileTest.cs
I'm using Windows 10 x64 and updates on file explorer are normal after 4gb. In this example, grows in ~500mb each update.
from litedb.
Hi, yes I checked the unit test and actually ran that also and there it worked. About using of Insert the thing which I am trying to check here is that it may happen that there may be random read and write but there may be huge number of writes so I really cannot determine when to use Insertbulk.
Could you give a better solution then? Thanks
from litedb.
Related Issues (20)
- Why Include() is not loading all nested items
- [BUG] "ENSURE ... Clear() cache" error and DB corruption when modifying collection during its enumeration
- Stop ads[BUG]
- FirstOrDefault causes transactions to be not removed HOT 1
- [BUG] Use EnterTransaction() before EnterLock HOT 2
- [BUG] At least for now, please do not update to 5.0.18 or 5.0.19. These two versions have more bugs.Keep Use Version -5.0.17 until Author Fix that HOT 3
- About LiteDB future HOT 4
- Incorrect argument validation exception
- [SUGGESTION] Add "Used By" section to the readme
- [BUG] Empty Fields are Serialized as null HOT 1
- [BUG] Upgrading from Version 4 Throws LiteException: File is not encrypted as of Version 5.0.18 HOT 2
- [QUESTION] LiteDB Opens Non-Database Files and Throws Exception on Large Invalid Content HOT 1
- [BUG] This engine instance already disposed when using InsertBulk HOT 2
- "ENSURE: empty page must be defined as empty type" when adding and removing from collections simultaneously HOT 1
- Make all internal Task SyncContext agnostic HOT 2
- [BUG] LiteDB Docs FileStorage section "fs.Find("$/photos/2014/");" not supported in v5
- [SUGGESTION] Upgrade Framework dependencies HOT 1
- [QUESTION] Parameterized queries not working?
- ArgumentException when fetching db item with missing Enum value HOT 2
- [QUESTION] Save :memory: to disk? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litedb.