You are viewing a single comment's thread from:

RE: Gridcoin Leisure Update 4.0.2 Released

in #gridcoin5 years ago

Does anyone knows whether this release continues being RAM eater?
I understand sync time has been "fixed" but nothing about memory usage is writen...
Thx¡

Sort:  

It's mostly still a RAM eater. The largest culprit is, as @tomasbrod mentioned earlier, the block index. With Bitcoin it's an index to the files on disk. Blackcoin extended this to also include the mint, money supply, stake modifier, previous stake, stake time and some additional fields. Gridcoin extended it further by including the CPID, magnitude and research/interest subsidy.

It's done in this way to avoid having to read the actual blocks from disk which would be very slow when scanning N months back to verify research claims. There are some ideas to move this type of data to an SQLite database which would both speed up the tally calculations and reduce the RAM requirement. It's just a fairly large task to implement.

Remove obsolete netsoft fields for slight RAM requirement reduction
#1336 (@denravonska).

Well, thats not telling much....

There were minor RAM optimizations in this release. The targeted optimizations this time around were focused on syncing. Further RAM reductions will be in the coming milestone releases (Denise and Elizabeth).

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.028
BTC 64024.15
ETH 3515.24
USDT 1.00
SBD 2.55