elements icon indicating copy to clipboard operation
elements copied to clipboard

Windows installation crashes while downloading blockchain - out of memory error - elements-0.18.1.12

Open blankscreengithub opened this issue 3 years ago • 3 comments

Program crashes during initial download of the blockchain.

I expected it to download the block chain.

I can only download about 80MB to 100MB and then the program crashes. If I restart the application, it restarts the block download from the initial block.

This happens with all versions of the windows applications.

v0.21.1

Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz 2.39 GHz Ram 12.0 GB 256 GB SSD Samsung

Not a GUI related issue Windows 10 Home 21H1 OS Build 19043.1055

From debug.log: 2021-06-20T23:38:20Z UpdateTip: new best=fca95bc6c01481162249bbd09508d28299bc9bacc8a586fef4297522cb6ddf5f height=50191 version=0x20000000 tx=50347 date='2018-11-09T23:00:59Z' progress=0.036000 cache=0.0MiB(212txo) 2021-06-20T23:38:20Z UpdateTip: new best=7041420d2caecaf40bc09b05de2959453ac1ca9ff9cdb57f7a95188aa988bf0a height=50192 version=0x20000000 tx=50349 date='2018-11-09T23:02:59Z' progress=0.036000 cache=0.0MiB(213txo) 2021-06-20T23:38:20Z UpdateTip: new best=49f6d3927b45b6f29532b5c3b41ce77b50c7bd56ae30b832abfd219829356040 height=50193 version=0x20000000 tx=50350 date='2018-11-09T23:03:59Z' progress=0.036000 cache=0.0MiB(213txo) 2021-06-20T23:38:27Z Error: Out of memory. Terminating. 2021-06-21T01:14:13Z

blankscreengithub avatar Jun 21 '21 01:06 blankscreengithub

Update: I was able to download 1GB of the blockchain before the program crashed. I started with 6GB of free RAM and I still received the out of memory error. How much memory on Windows does this program need to do the initial blockchain download?

blankscreengithub avatar Jun 21 '21 11:06 blankscreengithub

Update: I downloaded about 8 GB before it crashed, but my RAM memory still had some available. Technically, I did not run out of memory. Maybe I need to make a larger swap file size?

blankscreengithub avatar Jun 30 '21 01:06 blankscreengithub

same here on my raspbian buster 10(32bit). Near block 30k it eat all my 2gi of free mem and die. starting it using -dbcache=4 does not help at all. I'm using: bitcoin v0.21.1 elements v0.20.99.0-eda3fbe21 libboost 1_76

BitcoinPizza avatar Jul 04 '21 00:07 BitcoinPizza