EXCEPTION: St9bad_alloc #6001

issue kaotisk-hund opened this issue on April 10, 2015
  1. kaotisk-hund commented at 8:17 PM on April 10, 2015: none

    The following occurred today on Ubuntu 14.04 LTS 64bit, bitcoind v0.10


    EXCEPTION: St9bad_alloc
    std::bad_alloc
    bitcoin in ProcessMessages()

    bitcoind: main.cpp:1647: bool ConnectBlock(const CBlock&, CValidationState&, CBlockIndex*, CCoinsViewCache&, bool): Assertion `hashPrevBlock == view.GetBestBlock()' failed. Aborted (core dumped)

  2. sipa commented at 10:11 PM on April 10, 2015: member

    bad_alloc almost certainly means you ran out of memory.

  3. luke-jr commented at 10:14 PM on April 10, 2015: member

    Just address space*, actually. Try:

    sysctl vm.overcommit_memory=1
    

    (this is temporary and will be lost at reboot)

    If you don't have enough memory, it won't help much though.

    * Technically, 64-bit should never run out of address space, but Linux is artificially limiting it.

  4. kaotisk-hund commented at 10:44 PM on April 10, 2015: none

    Thank you very much both :)

  5. kaotisk-hund closed this on Apr 10, 2015

  6. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me