Mass transfer limitations in a membrane module