A teenage boy has been arrested on suspicion of arson following a huge fire at a derelict factory in a Suffolk town.