I have some graphics to be automatically updated from time to time.
These are built with the API in JavaScript.
In [1] you can see the HTML where the graphics are. In [2] you find the
Javascript code that reads the data from an external CGI and generates
the graphics with the API. In [3] there is an example of the output of CGI.
The problem is that as they are auto-updated graphics, the browser
starts to consume a large amount of memory, which is released only when
closing the browser (Firefox) or when closing the tab (Google Chrome).
As you can see in [2] I explicitly delete almost everything I can, but
with the automatic update, the memory consumption is excessive.
Can you help me with my problem?
[1] http://pastebin.com/8AW6wpar
[2] http://pastebin.com/iqfGRQTu
[3] http://pastebin.com/NxxbZdVD
--
Renato Covarrubias Romero counter.li.org #399677
renatux [at] gmail.com http://rnt.cl
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Viz,
Thanks for your answer.
I test changing the package migrating the code follow [4], and with
'corechart' the browser start to consume 4 times more memory.
The result .js is in [5].
I hope you can help me. Otherwise I must use Flash graphics. :(
Thanks!
[4] http://bit.ly/aYOQKh
[5] http://pastebin.com/xSW5jdHq
Ok.
Thanks a lot Viz.
Count on me if you need to test something.