ObjectRegistry continually growing

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 Odd Marthon on 5th June 2013
Hi!

I'm dynamically updating charts. I noticed that if i do not clear the object registry there will be a memory leak. Also the size of the ObjectRegistry is constantly rising until i call ObjectRegistry.Clear(). Is this the correct behaviour? Also wouldn't it be better to be able to just refresh the data instead of creating a new object every time ?
Posted by RGraph support on 5th June 2013
Hi there,

Yes it's correct behaviour. If you want to clear the ObjectRegistry then you have to call the Clear method. And there's a list of data properties on the API page that you can update instead of creating new objects.

www.rgraph.net/api
www.rgraph.net/docs/api.html#objectregistry


Richard, RGraph Support

5 developer license with Priority support for £299:
   www.rgraph.net/license#five-developer

Add a reply




« Back to message list