Controlling ofxXmlSettings growth

I have a project in which I’m constantly tracking data and saving it in XML format using ofxXMLSettings. Everything works fine, but, since I’m going to run the software 24/7, I’m considering to add a function that checks the size in my ofxXmlSettings object and cleans up some memory if it’s growing huge.

I’ve seen that ofxXmlSettings comes with a clear() function, but I was wondering if someone has done the same thing before and has best practices/ success stories/ clever tricks to share.