Author Topic: Why full node consumes so much ram and will it grow in the future?  (Read 1835 times)

0 Members and 1 Guest are viewing this topic.

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Another question when the node downloads the blocks and save them on the disk is the information there FULL and just some options are loaded into the ram?
So if i decide to include another account to TRACK_ACCOUNTS options and i restart the node - do i need to download again the blockchain or its needed only to upload the new information to the ram?

The on-disk information is complete. To make use of that when adding another account to track (for example), you must start the node with the --replay-blockchain option.

and what is that error about?
" Multiple limit match problem (issue 338) occurred at block #22743248"

https://github.com/bitshares/bitshares-core/issues/338
Just ignore it.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline TreantBG

ok thanks i run it with TRACK_ACCOUNTS with only one (mine) account

And it syncs again from block 0...


Another question when the node downloads the blocks and save them on the disk is the information there FULL and just some options are loaded into the ram?
So if i decide to include another account to TRACK_ACCOUNTS options and i restart the node - do i need to download again the blockchain or its needed only to upload the new information to the ram?

and what is that error about?
" Multiple limit match problem (issue 338) occurred at block #22743248"
« Last Edit: May 08, 2018, 01:43:11 pm by TreantBG »

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Hello,

My question is simple: Why full node consumes 16gb+ram?
Does it load the whole blockchain in the ram and will it demand more ram in the future?

 i just started a project and i needed to interact with the blockchain API
My development pc is solid it has 20gb of ram but when i start the witness node it syncs about the 25 milion blocks and get slower and slower
I did turn my pc off and it took more time to resync the blocks
It's impossible for me to develop on the machine while running the node.

so i guess i have to buy a server pc and i will
but how to communicate with the RPC interface that runs on localhost?
https://github.com/bitshares/bitshares-core/wiki/Memory-Reduction-for-Nodes
BitShares committee member: abit
BitShares witness: in.abit

Offline sschiessl

  • Administrator
  • Hero Member
  • *****
  • Posts: 662
    • View Profile
  • BitShares: sschiessl
What settings are you using?

If you disable all history and adjust the settings accordingly you can get it reduced to less than 4 GB

Offline TreantBG

Hello,

My question is simple: Why full node consumes 16gb+ram?
Does it load the whole blockchain in the ram and will it demand more ram in the future?

 i just started a project and i needed to interact with the blockchain API
My development pc is solid it has 20gb of ram but when i start the witness node it syncs about the 25 milion blocks and get slower and slower
I did turn my pc off and it took more time to resync the blocks
It's impossible for me to develop on the machine while running the node.

so i guess i have to buy a server pc and i will
but how to communicate with the RPC interface that runs on localhost?