Comments (4)
I also have this same (similar) question. I even changed the code to "textNode", but the function closeText
doesn't even exist...
from clarinet.
I have two users of dexie-export-import that bump on this issue too. Could you give some guidance on how to resolve it? Is the only solution to increase MAX_BUFFER_LENGTH to a greater value than 64k or could it be done more streamingly? I suppose we might need to support hundreds of megabytes in our case as people might store large blobs this way.
from clarinet.
@dfahlander If the blobs are stored in a string, then I think that with the current API, your only option is to increase MAX_BUFFER_LENGTH. The reason is that the API has a callback 'onvalue' which has a string as argument containing all the data at once.
If this is not an option, you might want to change the API to allow streaming values
from clarinet.
Thanks! I did increase it to 10MB for now. I see the problem. In our code we also assume that each single row could always fit into memory. We wouldn't benefit from streaming within a row internally. I might increase the limit even more if needed. Using a fork of clarinet right now. I could PR it if there's an interest to incorporate the extended limit into the main package.
from clarinet.
Related Issues (20)
- Clarinet -> jsondiffpatch HOT 1
- Big files on npm HOT 4
- empty keys not being handled properly
- First key in object handled differently (in `openobject` event rather than `key` event) HOT 7
- Setup Windows CI (e.g., AppVeyor) HOT 1
- JSONTestSuite test results HOT 4
- Missing objectclose events? HOT 1
- Using createStream() parser does not fire end() event when readstream compeletes. HOT 3
- Question... Can I pause the event Stream... HOT 3
- Error: Max buffer length exceeded: textNode - What is the limit, can I raise it and if not what alternatives do I have. HOT 2
- Somehow the old version no longer installs due to jade, and this version locks HOT 4
- Parser fails for non-object, non-array inputs HOT 1
- Very large stringified JSON HOT 3
- ES6 import?
- 0.12.4 release to push security update to npm? HOT 2
- column info seems to be off HOT 3
- Parser Line value seems to be incorrect in certain edge cases HOT 1
- Bye
- outdated benchmark dependencies causes CVE's HOT 1
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 clarinet.