High health regeneration performance issues. Health integer overflow possible. #1341
When a unit is given a massive amount of strength (esp. in the new patch with the modified regeneration rate), it will cause some major framerate issues, but only while it is visible.
Integer overflow bug with HP:
The hero isn't actually really dead though; some things still apply, such as gaining XP, while other things do not. The hero will be stuck at 0 of -2,147,483,635 HP.
To Test: Create a hero with the following stats:
107,374,182 STR, 10 AGI, 10 INT.
To fix this: clamp stats so that an overflow cannot be triggered. A similar problem occurs with intelligence due to mana pool overflow, or AGI where e.g. damage can overflow. Minimum limits should be thus about 100M str, about 150M int, and about 2B agi.