Improving logging for AM memoryOverhead