Memory Leak (Interaction with Ethereum Wallet / Electron)
Sorry for inundating you with issues, hopefully these are helpful for testing. Let me know if you have questions, or need additional info.
I am using Windows 10 64bit.
Ethereum Wallet 0.7.4 with geth 1.4
I have a memory leak in geth when it is initiated by Ethereum Wallet. When I open geth.exe (same file the wallet uses) from the command line, there is no leak. When the leak gets to about 20% of available memory, then two of the Electron processes (including the one with Wallet) begins to use up more memory too, and it begins to weigh heavily on the processor
If I close E wallet, and reopen the E wallet, the memory leak progresses much faster, unless I restart the computer.
From restart, here is the timeline of memory leak:
Mem Leaks
Minutes Usage Electron (Ethereum Wallet)
1 180MB ~100MB
3 418MB ~100MB
6 544MB ~100MB
10 818MB ~100MB
20 1100MB ~100MB
30 1541MB 540MB
40 2640MB 1500MB
50 1500MB 2400MB
60 1100MB 3800MB
Crash
Could this be related to watching The DAO? I'll remove it, and report back.
P.S. Still appears to leak after removing The DAO contract.
Thank you for the detailed report!
We are aware of this issue and have taken measures to prevent this from happening as of https://github.com/ethereum/meteor-dapp-wallet/pull/199. ~~Please to try these out. If you don't want to setup the dev tools I can send you a binary with it for testing!~~ This will be available in the next release.
Unfortunately at the moment I can only recommend you to stop watching The DAO or revert to Ethereum-Wallet 6.2.
When will this be released? I can't do anything atm with my wallets. Is there a work around?
Have a look at this issue I opened when I couldn't find anything with "The DAO" and "freezing, crashing" in the description Issue 778 . I also provide a workaround for version 7.4 to be able to watch The DAO contract. Unfortunately the workaround is going to only work for users who can run the development version of the app.
Also, I don't agree the issue is "fixed" in the development branch. It is simply hidden from view by disabling notification subscription. The issue would be fixed if the rate at which they are displayed was limited to something the GUI can manage. In Firefox for example (which is slower by itself) the issue does not appear (or appears only for few seconds) because the browser itself is effectively doing the rate limiting by being slow.
Removing The DAO 'resolved' it for now. Thanks.