output memory_get_usage into log file (useful to detect memory leak)