Add memory profile option.