How to free StaticMesh memory?

Hi, everyone.
I wrote a plug-in to import a custom model in Ue4Editor.
However, the generated StaticMesh content takes up a lot of memory. Is there any way to release the memory after generating the StaticMesh content?
If someone knows how to solve it, please let me know. This problem has troubled me for a long time,thanks.