The ObjectRegistry is continually growing until I clear it

« 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

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.

RGraph Support

Add a reply

« Back to message list