Bitcoin Forum
July 15, 2025, 04:02:22 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: restoring dumpfiles  (Read 153 times)
ingvar_e (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 2


View Profile
March 20, 2020, 10:18:22 AM
 #1

I have some dumpfiles. from 4 bitcoin installation on my W1ndows 10 desktop. I am running the latest version. The dumpfiles  where created with the previous version-

when running the command "importwallet" I get 2 different responces.

"null"  which I interpret as  OK

"Error: std::bad_alloc"  which I do not understand.

I have checked the input files and they  look ok

Suggestions?


Pmalek
Legendary
*
Offline Offline

Activity: 3192
Merit: 8235



View Profile
March 20, 2020, 10:37:52 AM
 #2

From some old threads I found it was suggested that the 'bad_alloc' error suggests low ram memory. Now I am not sure if this is the case here as well.
How much RAM do you have and are you using a 32-bit or 64-bit version of Windows?

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
ingvar_e (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 2


View Profile
March 20, 2020, 10:48:41 AM
 #3

I am running Windows 64 and I have 12 GB of memory
Heisenberg_Hunter
Legendary
*
Offline Offline

Activity: 1593
Merit: 1280


Heisenberg Design Services


View Profile WWW
March 20, 2020, 10:51:46 AM
Last edit: March 20, 2020, 11:36:13 AM by Heisenberg_Hunter
Merited by vapourminer (1)
 #4

As Pmalek pointed out, there have been similar topic on this issue sometime back. When the Core has ran out of virtual memory I guess this issue pops up. Core uses above the normal memory to access and run the application. Just edit the .config file of Bitcoin Core and add

-dbcache= a value lesser than allocated RAM

If this doesn't solve your problem try to edit the config file and type

 -maxmempool=value less than 300

These should have lesser ram usage than your current scenario. There are other ways to reduce the RAM usage. Check this out : reduce-memory

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!