Breeze icon indicating copy to clipboard operation
Breeze copied to clipboard

Excessive RAM consumption by Breeze

Open mtaipe opened this issue 7 years ago • 4 comments

I couldn't find the system requirements to run the Wallet in a Ubuntu Linux OS but the system where I tested has 8GB RAM.

This happens either running BreezeD for stratis or bitcoin in their respective testnet networks alone or in combination including the electron UI wallet. When all are running together the problem arises faster than when BreezeD is called isolated.

mtaipe avatar Oct 10 '17 00:10 mtaipe

I have a couple of notes on this.

  1. This is a valid point, it's not only memory eating, but CPU eating, too.
  2. 8GB is a big number. It's rather 1-3GB, considering I was seamlessly running with 4GB system for months.
  3. Note: he Bitcoin testnet headerchain is 2-3 times as big as the mainnet headear chain and that thing sits in the memory.
  4. Electron generally is terribly bloated.
  5. A refactoring of some deep wallet concepts would be the proper solution, which I was trying to push for since I'm here and started it: here, but was put on hold today, because such fundamental change is risky.

nopara73 avatar Oct 10 '17 02:10 nopara73

Have a same issue, just open app(OSX) to register. Statis.BreezeD = 150% cpu | 850mb ram (quite a lot for just opened app) breeze-ui.helper = 110% cpu

kogot avatar Oct 21 '17 14:10 kogot

Addition to my previous list:

  1. Wallet file can be huge.

nopara73 avatar Oct 21 '17 14:10 nopara73

After a day of running the daemons use 700+mb of memory each. Mac OSX 10.12.6

zomertje avatar Oct 24 '17 19:10 zomertje