In general, the old instance of the Document will not be referenced anywhere and it will be collected by the Garbage Collector when needed, so this should not incur any memory overhead.
Alternative method to clear a document will be to simply select its content and delete it:
You can use this one if you prefer.
I hope this helps.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>