fluttercommunity / flutter_blurhash

Compact representation of a placeholder for an image. Encode a blurry image under 30 caracters for instant display like used by Medium. Maintainer: @Solido
https://pub.dev/packages/flutter_blurhash
MIT License
513 stars 65 forks source link

Version 0.6.6 - Huge memory consumption and Crash #45

Closed YDA93 closed 2 years ago

YDA93 commented 2 years ago

After Upgrading from 0.6.4 to 0.6.6,

I noticed huge lag while scrolling into multiple images that use BlurHash as loading widget.

I also noticed significant memory consumption and multiple _spawn stacks being generated.

Reverting back to 0.6.4 fixes the issue.

Solido commented 2 years ago

Thank you for the issue. This may be related to the use of isolate to decode the image. Surely it should leak somewhere. I must find time to check this asap!

Solido commented 2 years ago

Rolled back to previous method while I dig into this problem. 0.6.7