IMO, as soon as it rises detectably. Algae is also not the only concern.
Perhaps surprisingly, when the TDS out of a DI cartridge starts to rise, the concentration of certain elements in the effluent can be HIGHER than the incoming RO water. That is because at that point, ions will be swapping on and off the DI resin, and the most weakly bound will be the ones that mostly get popped off.
Unfortunately, some of the weaker bound ions are also ones that can be an issue, such as ammonia, silicate, and phosphate. Additionally, if the balance is not perfect between the ability to bind positive charges and negative charges, the pH of the final DI effluent can swing wildly up or down as the TDS rises, with most of the positive charges being H+ or most of the negative charges being OH-.
That all said, you can get more capacity out of a DI cartridge if you use two in series, and run the first one (closest to the RO) until the TDS out of it has risen to about half of the incoming TDS (that is, half of the TDS out of the RO). At that point, swap the second one into the first position and put a new one in the second position.
This way the TDS never rises above 0-1 ppm TDS, but the cartridges are used to the point where they are highly depleted.