[solved] garbagecollect() and "memory management"

I’m stressing a new tool and find it using more memory than wanted, possibly due to bad garbage collection and very many objects being created (?).

A garbagecollect() won’t help much. I had some hope in calling the following, but with no success:

function Chord:destruct()
 self = nil
end

Is there any common issue to be aware of that usually interfers with garbage collection?

Or are there some ways to further pinpoint the issue?

It seems the culprits were a lot of viewbuilder objects being referenced to within other objects. After nullifying any references to these, the memory leak seems to be gone.

Some extra caution might be used with viewbuilder in regards to garbage collection.