Add command-line switch to add memory usage info to log output lines.
For non-Windows platforms only.