Go to System → Settings → Checkout

Prevent checkout with large order sub-total amounts. Type 0 for NO LIMIT. 

Please note you can set Maximum Quantity for each product separately on Product edit page.