I know maxscript has automatic garbage collection…but I don’t like making garbage.
I know how to call the garbage collection but that’s time consuming and inefficient…
with bitmap’s, you can manually close them down to reclaim the memory.
I’d like to know if there’s a way to do this with arrays?
For instance, I have 2 large arrays…and I say array1 = array2. Now array1 is just a huge memory leak but there seems to be no way to avoid this. I don’t WANT to make memory leaks
because this will cause the garbage collector to have lots of work to do.