Branch: refs/heads/master
  Home:   https://github.com/conformal/btcchain
  Commit: 149d8176b0ff0b1fc848bca46ab8bca2079b7ab8
      
https://github.com/conformal/btcchain/commit/149d8176b0ff0b1fc848bca46ab8bca2079b7ab8
  Author: Dave Collins <[email protected]>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M chain.go

  Log Message:
  -----------
  Fix an issue causing excessive memory consumption.

This commit resolves an issue where the block node index was forcing
entire blocks to be kept in memory thereby forcing excessive memory usage.
For example, prior to this change, the memory usage could consume upwards
of 1.5GB while importing bootstrap.dat via the addblock utility.  With
this change the entire import takes <150MB.  This also has the same memory
reduction to btcd since it uses the same code path.


Reply via email to