visage icon indicating copy to clipboard operation
visage copied to clipboard

Live stops updating after a time

Open jessereynolds opened this issue 13 years ago • 2 comments

If I set a graph on 'last 1 hour' to 'Live' then it updates OK but after a time it stops updating, even though the javascript is still retrieving updated data every 10 seconds.

I've seen it fail after about three or four hours when set to "last 24 hours".

I've just now tested with it set to "last 1 hour" in both 2.0.5 and 2.1.0 and they stopped updating after 65 mins and 54 mins respectively. Both were running in Chrome in separate tabs with the Developer Tools running. Both tabs continue to retrieve fresh data every 10 seconds with apparently valid samples embedded in the JSON.

jessereynolds avatar Apr 24 '12 05:04 jessereynolds

Started in Firefox, set to "last 1 hour", at 14:37 and it ran until 16:05, so 88 mins, before stopping. Oh, actually now at 21:15 it's appearing to now show data up until 17:56.

It's not quite clear exactly what's going on.

Here's a snapshot from firefox at about 21:26 this evening: https://skitch.com/jessereynolds/8icus/firefox-2012-04-24-at-9.26.32-pm ... Mousing over the start and end of the graph lines it claims to be showing data between 13:37 and 18:03 (and the endpoint is moving forward still). The blip at approx 18:00 appears to correspond to the same blip at the same time when I load visage afresh and select 6 hours: https://skitch.com/jessereynolds/8icwf/firefox-2012-04-24-at-9.28.15-pm

jessereynolds avatar Apr 24 '12 08:04 jessereynolds

My guess is a memory leak.

I'd really like to ditch this feature entirely, but people seem to like it.

I'll have to go back and look at an alternative implementation of the drawing code.

auxesis avatar Aug 13 '13 10:08 auxesis