Disney just did that recently with John Carter by piling on as soon as it was clear it was going to lose a fair amount of money. The movie managed to lose more money than it cost to make even though there were revenues to offset some of the cost thanks to Hollywood accounting.
All I remember...