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

0 Members and 1 Guest are viewing this topic.

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?

Offline sschiessl

Re: Why full node consumes so much ram and will it grow in the future?
« Reply #1 on: May 07, 2018, 08:26:37 pm »
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 abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3182
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: Why full node consumes so much ram and will it grow in the future?
« Reply #2 on: May 07, 2018, 10:58:50 pm »
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
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline TreantBG

Re: Why full node consumes so much ram and will it grow in the future?
« Reply #3 on: May 08, 2018, 09:47:20 am »
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 pc

  • Hero Member
  • *****
  • Posts: 1365
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: Why full node consumes so much ram and will it grow in the future?
« Reply #4 on: May 08, 2018, 07:54:00 pm »
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.
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de