spesmilo / spesmilo/electrum

MemoryError:

Open
#8,096 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

Traceback (most recent call last):
  File "electrum\gui\qt\util.py", line 1669, in on_qt_callback_signal
  File "electrum\gui\qt\main_window.py", line 429, in on_event_blockchain_updated
  File "electrum\gui\qt\main_window.py", line 1041, in refresh_tabs
  File "electrum\gui\qt\util.py", line 819, in refresh_all
  File "electrum\gui\qt\address_list.py", line 222, in refresh_row
  File "electrum\wallet.py", line 855, in get_addr_balance
  File "electrum\address_synchronizer.py", line 502, in f
  File "electrum\address_synchronizer.py", line 838, in get_balance
  File "electrum\address_synchronizer.py", line 785, in get_addr_outputs
  File "electrum\address_synchronizer.py", line 777, in get_addr_io
MemoryError

MemoryError: 

Reporter

This issue was reported by 4 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.3.2 3.9.11 (tags/v3.9.11:2de452f, Mar 16 2022, 14:21:37) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22000-SP0 imported en_GB
4.7.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 imported Engli
4.7.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 imported Engli
4.7.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 standard,imported Engli

Additional Information

Traceback (most recent call last):
File "electrum\gui\qt\main_window.py", line 960, in timer_actions
File "electrum\gui\qt\main_window.py", line 1134, in update_wallet
File "electrum\gui\qt\main_window.py", line 1146, in update_tabs
File "electrum\util.py", line 495, in do_profile
File "electrum\gui\qt\utxo_list.py", line 128, in update
File "electrum\gui\qt\utxo_list.py", line 152, in refresh_row
File "electrum\wallet.py", line 1033, in get_num_parents
File "electrum\wallet.py", line 1048, in get_tx_parents
File "electrum\wallet.py", line 1065, in get_tx_parents
File "electrum\util.py", line 1242, in func_wrapper
File "electrum\address_synchronizer.py", line 856, in get_addr_io
MemoryError


Traceback (most recent call last):
File "electrum\gui\qt\main_window.py", line 960, in timer_actions
File "electrum\gui\qt\main_window.py", line 1134, in update_wallet
File "electrum\gui\qt\main_window.py", line 1146, in update_tabs
File "electrum\util.py", line 495, in do_profile
File "electrum\gui\qt\utxo_list.py", line 128, in update
File "electrum\gui\qt\utxo_list.py", line 152, in refresh_row
File "electrum\wallet.py", line 1033, in get_num_parents
File "electrum\wallet.py", line 1048, in get_tx_parents
File "electrum\wallet.py", line 1065, in get_tx_parents
File "electrum\util.py", line 1242, in func_wrapper
File "electrum\address_synchronizer.py", line 856, in get_addr_io
MemoryError


MemoryError


Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the reported calls through electrum/address_synchronizer.py, especially get_addr_io, get_addr_outputs, and get_balance, then inspect the wallet.py and Qt refresh callers in the trace. Use the supplied crash reports and imported-wallet contexts to investigate when memory usage grows; done means the affected wallet operations no longer raise MemoryError and the relevant behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.