"Hot" ground wire

What would cause the ground wire on the battery to get so hot that it literally melted the lead off the terminal. This occurred while cranking the motor over to start after setting a while. Any ideas?