The heart attack myth dates back to early forum posts claiming that if Carl Johnson became fat enough, he would run the risk of having a heart attack.
While at first, the myth seems likely, but it has been found that no heart attack code exists in the game. Players might confuse Carl Johnson starving to death for a heart attack, which is the likely source of this myth. It may also be because, at the start of the game, it warns the player not to eat too much or he will die, although this never happens in the game.
A rare glitch in the PC version can be misinterpreted as a heart attack. It happens when CJ is trying to climb something and then he randomly dies; this is not a heart attack and is more likely the game confusing the climb for fall damage. This glitch is a lot more likely to occur if the Frame Limiter is disabled.
However, in the mission The Meat Business, Johnny Sindacco suffers a heart attack after confronting Carl Johnson. Therefore, heart attacks are known to exist in the game, but only in a cutscene.