Skip to content
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

Error, if chunk size > 128kb #2

Open
konstantinkrassmann opened this issue Oct 11, 2016 · 5 comments
Open

Error, if chunk size > 128kb #2

konstantinkrassmann opened this issue Oct 11, 2016 · 5 comments

Comments

@konstantinkrassmann
Copy link

konstantinkrassmann commented Oct 11, 2016

hello ,

If the chunk size exceeds the maximum string length of V8, then the following error will occur:

Error: toString failed
    at Buffer.toString (buffer.js:377:11)

this line will fail:

 var matches = /for table `(.*?)`/.exec(chunk.toString('utf8'));
@vekexasia
Copy link
Owner

Are you running on windows?

@konstantinkrassmann
Copy link
Author

Yes, windows 10

@vekexasia
Copy link
Owner

vekexasia commented May 23, 2017 via email

@vekexasia
Copy link
Owner

vekexasia commented May 23, 2017 via email

@konstantinkrassmann
Copy link
Author

Well, i dont have the files to reproduce the error anymore.

Just take a table with > 1 gb of data with INSERT statements. (~ 15 mil rows).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants