Gas furnace for molding sand and