I found that my Monero GUI wallet keeps crashing during the initial blockchain synchronization, and when I start off from where it crashed, data.mdb
in C:\ProgramData\bitmonero\lmdb
has been corrupted (the Error opening database: Failed to query m_blocks: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
response in the command prompt). Typically, it gets 2.0 to 3.0 GB in size, though sometimes as much as 6.0 GB.
To work around this, I've been running monerod.exe
in the Windows 10 command prompt and adding flags such as these in order to keep the synchronization from using too much CPU power or bandwidth:
--max-concurrency 1
--block-sync-size 10
--out-peers 5
--limit-rate 500
Unfortunately, none of these have been successful regardless of the numerical values in the flags. Do I need to install the wallet on another computer, or could I try another workaround?
EDIT: After updating to the latest version and reducing out-peers
to 3, I'm having more success. The daemon didn't so much crash as freeze the computer and corrupt the databases. Two crashes without corruptions later, and I have over 70% of the database saved. The remainder will take several more days.