To cost a lot of money, or to use up all one's financial resources.
To do something in the cheapest or easiest way, often sacrificing quality.
To work late into the night.
To start planning something again because the previous attempt failed.