[FEATURE] Log memory usage in logging stream handler