Hi,
The default 365 days is way too many once you have a busy server, i remember when i fell foul of that one:(
to alter the retention period i use this method
EXEC catalog.configure_catalog RETENTION_WINDOW, 7;
GO
there is also this one for changing the max versions of a project.
EXEC catalog.configure_catalog MAX_PROJECT_VERSIONS, 4;
GO
Ian