Log memory usage
small refactoring of the experiment generator