importwallet crashes

Issue description

When importing many private keys from file by importwallet command - depending on the size of the file the app crashes without any messages in log file.

Steps to reproduce

  1. open app with no wallet, it will create an empty one
  2. open console
  3. get ready with private keys file
  4. importwallet the file

Expected behaviour

App should import all keys and rescan the blockchain for txes

Actual behaviour

Sometimes in the process of importing (before rescan) the app just quits levaing no info in log file

Bitcoin Cash Node version

26.0.0 x64

Machine specs

  • OS: Windows 10 10.0.19045.2728
  • CPU: Intel 9900K
  • RAM: 16 GB @ 4000 MHz OC
  • Disk size: 2 TB
  • Disk type (HD/SDD): SSD