After the machining of mechanical parts as motor casings and gear boxes the parts are cleaned and oil residues accumulate. The cleansing agents transported in a closed circuit carry the oil residues and are cleaned subsequently in a flotation process.