The default is infinite, and this will set it to only remember the last five edits:
Just copy and past following codes to yourdomain.com/wp-config.php
Example:
PHP
/**
* Set the post revisions unless the constant was set in wp-config.php
*/
if (!defined('WP_POST_REVISIONS')) define('WP_POST_REVISIONS', 5);