Rhino does not release memory after script is executed

I am using a little altered version of the BatchConvert example from the Rhino Tutorials page. It works quite perfect but I noticed that after converting each file no memory is released and keeps being in use unless I restart Rhino.
Are there any ways to free my memory?

Hi Mike,

I’m a little confused by your question, as every time a document is closed (which happens when you run the Open command) any associated memory is released.

Are you getting out-of-memory errors? What problem are you trying to solve?

– Dale