Pretreatment solutions to optimize and extend the life and performance of membrane and reverse osmosis operations.