Git Product home page Git Product logo

Comments (10)

gcarq avatar gcarq commented on September 17, 2024

Can you pass -v to increase verbosity to get the debug logs? Also which system specification do you have? capacity overflow normally hints to an out of memory situation

from rusty-blockparser.

Githrasher avatar Githrasher commented on September 17, 2024

Можете ли вы перейти -vк увеличению детализации, чтобы получить журналы отладки? И какая спецификация системы у вас есть? capacity overflowобычно намекает на ситуацию нехватки памяти

err2

System AMD Ryzen 9 3900 , Win10 pro, RAM 16Gb Hdd 1Tb
rustc 1.70.0 (90c541806 2023-05-31)
cargo 1.70.0 (ec8a8a0ca 2023-04-25)
1.70-x86_64-pc-windows-msvc unchanged - rustc 1.70.0 (90c541806 2023-05-31)

Maybe I built it wrong.
Build without errors.
Could you give already built rusty-blockparser

from rusty-blockparser.

gcarq avatar gcarq commented on September 17, 2024

16GB of RAM should be fine at this point. I'm not to sure how Windows works in this regard, but can it be that C:\Temp is mapped into RAM (similar to tempfs on linux) and the RAM will fill up very quickly because the program is started in C:\Temp and also the dump path is also set to this.

Can you try to execute this somewhere else like C:\Users... (also setting a different dump path) and monitor the memory usage when starting it?

Also make sure to build the executable with cargo build --release.

from rusty-blockparser.

Githrasher avatar Githrasher commented on September 17, 2024

err3

So I built the project cargo build --release

from rusty-blockparser.

gcarq avatar gcarq commented on September 17, 2024

Could you give already built rusty-blockparser

I think the binary works fine, however I cannot reproduce this on linux and have currently no windows instance to test on.
Please check and verify the RAM usage with the task manager or similar things to rule out OOM errors.

It might also be worth to test another command like simplestats which doesn't allocate a lot of memory upfront or versions 0.9.0 and 0.10.0 to narrow it down a bit.

from rusty-blockparser.

Githrasher avatar Githrasher commented on September 17, 2024

Could you give already built rusty-blockparser

I think the binary works fine, however I cannot reproduce this on linux and have currently no windows instance to test on. Please check and verify the RAM usage with the task manager or similar things to rule out OOM errors.

It might also be worth to test another command like simplestats which doesn't allocate a lot of memory upfront or versions 0.9.0 and 0.10.0 to narrow it down a bit.

err4
I tried it on a 32GB PC too.

from rusty-blockparser.

Githrasher avatar Githrasher commented on September 17, 2024

err5
Hello.
I tried this today in VirtualBox Ubuntu 18
What am I doing wrong?

from rusty-blockparser.

gcarq avatar gcarq commented on September 17, 2024

This stacktrace is very helpful and brings us closer to the solution. It seems most likely that the blockchain data is corrupt, can you resync (or verify/repair it in any way)?.

The problem is that the parser tries to read some variable length integer in read_tx that have a special encoding, if this data is corrupt the parser tries to allocate an unreasonable amount of memory and bails out, which is most likely the case here.

from rusty-blockparser.

gcarq avatar gcarq commented on September 17, 2024

Any update on this one? Did it work after resyncing the chain?

from rusty-blockparser.

gcarq avatar gcarq commented on September 17, 2024

Closing this, feel free to reopen if a resync doesn't help

from rusty-blockparser.

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.