Fermentation process improvement by membrane technology