- Home /
Question by
bendprogrammer · Feb 10, 2015 at 10:36 AM ·
editor-scriptingmemory managementmemory-leakgarbage-collection
destroy immediate equivalent for none unity objects ?
hi, i'm using editor scripting to graph some data, i have a huge List object (of size 10,000,000), the problem is that it is not deallocated from memory using GC.Collect() and i can't use destroyImmediate on it.
What is the best way to free the memory ?
thx.
Comment
You must eli$$anonymous$$ate all references to the data before GC will clean it up.
Your answer
