Clear RooFit memory pool

Unless I’m mistaken many RooFit types (e.g. RooDataSet) do not use compiler generated new and delete operators but rather use a shared memory pool which is allocated in chunks as required, but does not seem to be cleared until the program ends. I think this behaviour is causing RooFit to use up all of my machine’s RAM when running large generate and fit type studies. Is it possible that this is correct and if so is there a way to free the memory allocated to this pool manually?

Any clarifications or help would be much appreciated,

Hugh