Coder Social home page Coder Social logo

Comments (7)

olalonde avatar olalonde commented on August 23, 2024

It seems that insight-api tries to load the entire file in memory and hits Node.js's buffer size limit?

from insight-api.

matiu avatar matiu commented on August 23, 2024

Interesting.

In the installations of bitcoind I saw, the .dat files where always limited to 128MB. Do you have any special configuration setting to make that files bigger?

from insight-api.

olalonde avatar olalonde commented on August 23, 2024

It turns out older bitcoin versions used to store data in larger block files. I fixed the problem by concatenating all my blk files (cat *.blk > bootstrap.dat), creating a new bitcoin data directory and moving that bootstrap.dat file in the directory. This regenerates the block files with the correct sizes.

from insight-api.

matiu avatar matiu commented on August 23, 2024

Awesome. Thanks for sharing. —
Sent from Mailbox for iPhone

On Sat, Mar 29, 2014 at 6:06 PM, Olivier Lalonde [email protected]
wrote:

It turns out older bitcoin versions used to store data in larger block files. I fixed the problem by concatenating all my blk files (cat *.blk > bootstrap.dat), creating a new bitcoin data directory and moving that bootstrap.dat file in the directory. This regenerates the block files with the correct sizes.

Reply to this email directly or view it on GitHub:
#35 (comment)

from insight-api.

np avatar np commented on August 23, 2024

Same issue here. I'm trying the same workaround.

In case this happen to be treated as "won't fix" I would suggest reporting a such advise instead of the current error message.

from insight-api.

matiu avatar matiu commented on August 23, 2024

, we will can a try/catch, explaining this. thanks.

On Sun, Apr 6, 2014 at 12:44 PM, Nicolas Pouillard <[email protected]

wrote:

Same issue here. I'm trying the same workaround.

In case this happen to be treated as "won't fix" I would suggest reporting
a such advise instead of the current error message.


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-39671600
.

Matías Alejo Garcia
Skype/Twitter: @EMATIU
Roads? Where we're going, we don't need roads!

from insight-api.

matiu avatar matiu commented on August 23, 2024

Closing this one here. Moved the related issue to: #63

from insight-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.