Clearing unused vertex sets to free up memory

Hi TG Team,

I am optimizing memory usage in my query, so want to clear unused vertex / seed sets. I noticed that, unlike local accumulators, vertex sets don’t have method clear(), so how to deactivate these vertex sets? Or is the memory consumption big enough to bother with in the first place?


1 Like


I don’t immediately know of any way to clear seed sets, but instead of using seed sets, you could directly use a vertex type. To find some possible alternatives to seed sets, you can check out the source vertex set documentation.

Let me know if this helps!