Retaining Larger action logs for Re-do and Undo

How do I increase the amount of actions that action history retains so that I can undo more in a project.

You can adjust the number of undo steps in File > User Preferences > Edit (bottom of the left most column of settings) The default is 32 steps.