Noticed this error if one runs the command line with a file fed to it full with commands (using the @filename command). It has to do with the whole process running too long as with fewer commands there is no error anymore. The error seems to surface from
index rebuild commands.
Apparently such errors are caused by the GC running too early and
can be circumvented