Consider updating glob to >= v9 then everything is fixed. This memory leak not only causes heap memory to run out, but its also a **vulnerability**!