Added clearInstance method call.

Added clearInstance method call to reduce memory usage during product export.