wallix / awless

A Mighty CLI for AWS
http://awless.io/
Apache License 2.0
4.98k stars 263 forks source link

Readme triggers firefox bug #170

Open Chronial opened 6 years ago

Chronial commented 6 years ago

Open the readme in the current version of firefox (57.0.1) causes a massive expansion in firefox memory usage. Screenshot by Hacker News user satysin:

screenshot

This has been reported on linux and windows: https://news.ycombinator.com/item?id=15845396

While this is probably not your fault but a bug in firefox, you might still want to do something about it. At the moment visiting your github page can cause system crashes ^^.

fxaguessy commented 6 years ago

Thanks for the report. We need to investigate why this happens and if it is a known bug in Firefox.

fxaguessy commented 6 years ago

I confirm that it is the same on macOS.

hbi-wallix commented 6 years ago

Could be APNG? But it shouldn't be of course, it is a great format highly efficient for screencasts.

fxaguessy commented 6 years ago

Yes, it is APNG (loading https://raw.githubusercontent.com/wiki/wallix/awless/apng/awless-demo.png consumes 4.9Go memory on my computer). Maybe an implementation issue in Firefox. On Chrome (v65), it requires 350Mo to display the APNG file.

Chronial commented 6 years ago

Maybe get grid of the APNG? I don't think a github readme should consume 350Mb of Memory :).