Memory leak with Midori in Raspberry Pi

Share RGraph:   Share or Like RGraph on Facebook!

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Edward R on 5th November 2013
I'm using RGraph with Midori browser in Raspberry PI with great satisfaction. But I have problem with memory leak. I'm using the graphics fuel, vertical progress, gauges, odometers and thermometers to refresh every 1 second. I have read the documentation and I can not find anything that solves the problem.
Any help would be appreciated.
Posted by RGraph support on 5th November 2013
Hi there,

You may have better luck if you're recreating the whole chart every time to just set the value instead and then redraw. You can do that like this:

var func = function ()
{
     myObject.value = 89;
     RGraph.RedrawCanvas(myObject.canvas);
}

setTimeout(func, 1000);

www.rgraph.net/fiddle/view/an-example-of-a-meter-chart


Richard

Add a reply




« Back to message list