Refreshing Data Every Second

75 views
Skip to first unread message

Peppi

unread,
Sep 13, 2012, 2:44:20 PM9/13/12
to google-visua...@googlegroups.com
Hi,

I'm using the Visualization API in a Google Gadget. Currently, there are 8 instances of this Gadget on a web page. Each Gadget has the refresh interval set to 1 second. Over time, Chrome eventually crashes. After awhile, I see the attached screen shot in the Developer tools. A new entry is added at every refresh interval. Could this be the reason for the browser crashing? If so, is there anything I can do about this?

Thx.


Viz.png

matt

unread,
Sep 14, 2012, 4:09:33 PM9/14/12
to google-visua...@googlegroups.com
I believe there is a memory leak in dashboard.  See my post here:  https://groups.google.com/forum/#!topic/google-visualization-api/9vWn9OtJxno 
  Are you using dashboard to draw or an individual chart?

Peppi

unread,
Sep 14, 2012, 4:55:24 PM9/14/12
to google-visua...@googlegroups.com
I'm not actually drawing any type of chart. I'm just reading data from a Google Spreadsheet and then putting it into a table.

Here's an HTML page I put together to illustrate the problem - http://dl.dropbox.com/u/11087865/Visualization-API-Leak.html. This page calls google.visualization.Query.send every second. If you open Chrome's Task Manager, you'll see the memory continuously climb.

Thx.
Reply all
Reply to author
Forward
0 new messages