The 56-year-old was on his way to work when he collapsed on the road after suffering a heatstroke
Dhaka Export Processing Zone's (DEPZ) fire station official Abdul Hamid Mia said the fire broke out at the 7-storey building around 8am on Thursday.
Two units of the fire service have put out the fire around 10am.
He said they suspect an electrical malfunction at the store-room on the factory's sixth floor may have caused the fire.