ACRA / acralyzer

Open source backend for ACRA reports.
GNU General Public License v3.0
489 stars 90 forks source link

Memory leak in Chrome #56

Open NasaGeek opened 10 years ago

NasaGeek commented 10 years ago

Upon navigating to http://myapp.iriscouch.com/acralyzer/_design/acralyzer/index.html#/dashboard/ and refreshing on Chrome 28.0.1500.95, Acralyzer immediately starts to chew up more and more memory as well as pegging the CPU (25%, so perhaps it's just one of the cores?). This does not occur on Firefox 22.0

Leandros commented 10 years ago

Yes, same for me as well. Chrome ate all of my 16 GiB RAM!

KevinGaudin commented 10 years ago

I've noticed that long ago, unfortunately I first have to learn how to debug this kind of issue... how can this happen only when reloading the page ?

brudaswen commented 10 years ago

Seems to happen only if "Background Polling" is enabled!

Looks like some endless loop:

Error while polling changes
Polling changes since = 8 (worker undefined)
Error while polling changes
Polling changes since = 8 (worker undefined)
Error while polling changes
Polling changes since = 8 (worker undefined)
...

Hope this information helps a bit.

davcamer commented 10 years ago

How many reports and bugs are in the instances where this is happening? Or does it happen with any size of database?

KevinGaudin commented 10 years ago

You don't need a huge number of reports to have this happen.