How to release abandoned staticmesh or texture in blueprint

(UE4-27)
I use AssetRegisty and GetAssetsByPath node to get my staticmesh set. Then random a staticmesh to set to my actor like below.

But the replaced mesh still occupies memory and is not been gc!!
How can I release abandoned staticmesh or texture in blueprint?Destroy actor doesn’t work for me. Actor can be destroyed but its staticmesh is still in memory.

Solved! It dosen’t release because mesh or textures has standalone flag in Editor. Package my game can solve it.