alpha-wallet-ios icon indicating copy to clipboard operation
alpha-wallet-ios copied to clipboard

Find app memory leak reason

Open oa-s opened this issue 3 years ago • 4 comments

When watching wallet address 0xa679c6154b8d4619Af9F83f0bF9a13A680e01eCf the AW app start rapidly grows, up to memore issue termination

oa-s avatar May 25 '22 15:05 oa-s

@hboon @eviltofu maybe you can help to find it?

oa-s avatar May 25 '22 15:05 oa-s

Screenshot 2022-05-25 at 18 19 39 Screenshot 2022-05-25 at 18 19 35 Screenshot 2022-05-25 at 18 19 29 Screenshot 2022-05-25 at 18 16 07

oa-s avatar May 25 '22 15:05 oa-s

After some observation, i guess we can exclude some possible causes:

  • activity (events) (when disabling activities, it still exists)
  • transactions ??
  • images (disabled loading images at all)
  • could be when loading balances?

oa-s avatar May 26 '22 06:05 oa-s

Transactions are quite possible. I remember a long time ago if you add and remove transactions (or operations?), it might not be deleted properly. Maybe it's still there? Whale wallet might have 10x-100x more transactions than tokens?

hboon avatar May 26 '22 07:05 hboon