Thread:Project:Support desk/Limit number of page revisions/reply (2)

Thanks for the response. I increased the memory limit and now deleteOldRevisions.php runs without problems, only done a dry-run so far. But I still dont´t understand how to use the script to purge a specific number of revisions, in my case I want to keep a maximum of 365 revisions of each page so I have one years history of changes. Is there some parameter I can set to control how many revisions it will keep ?