1. A method of programming an antifuse memory, comprising, for a cell to be programmed, the steps of: assessing the memory power consumption in programming mode by determining consumed current; comparing the memory power consumption with a threshold; and stopping the programming of the cell when the threshold has been reached.