@Pavel Dyalog does of course do memory management entirely under the covers. I don't know all the details (but I can find out specifics, you you can ask
Jay). I think everything has refcounts, but there can be circular refs, which the garbage collector takes care of.