Task: The import warns in debug mode and forgets its query log
Description
A kernel in debug mode remembers every query it sends. In a long import that made the process grow to several
gigabytes. app:, run- and delta now warn when the kernel runs in debug
mode, and the stage runner clears the remembered queries and timings after each batch. The installation guide says to run
the import with APP_ or --.
Impact
Nothing changes for a kernel without debug mode. In debug mode an import keeps a flat memory use and shows the warning.