Returning with some feedback; the -11! command itself is not consuming large amounts of memory. It simply reads each line of the log file and applies ‘value’ to it. So the memory will be consumed by what happens when value is applied. It’s usually something simple like an insert or update to a table but it can be more complex leading to more memory usage.
Secondly, you can set garbage collection to immediate by using
Great questions for the Community! Here is some more documentation about replaying log files that might be useful, https://code.kx.com/q/kb/replay-log/. I have reached out internally for a more detailed response.