When the numpy array is no longer referenced, it is automatically freed by the GC. C objects are wrapped in Python objects, so it doesn't matter to you how this is implemented.
Make sure that arrays do not reference global variables, as they are closed until they are overwritten or the program exits.
, , del variablename ( , , None), - , .
, , gc.get_referrers(object).
P.S. numpy IPython, gc.collect() .
gc.disable(), gc.collect() GC .