Drying with heating arrangements using waste heat