Glish memory leak
Glish is known to have some memory leaks. One of them is the following, which should be easy to avoid in your own code. It is a problem though in the official Aips++ glish code.
memleak := function()
a := [1:10];
b := a;
Calling this function will leak memory. Glish has
some functions to monitor memory usage. One of them is
alloc_info(). There is more information in
the Glish manuals of course.