You try to save your site as a site template but SharePoint throws up the error:

Error creating solution. The maximum total file size limit (xxxxx bytes) has
been exceeded in SharePoint 2010.


You need to use powershell to change the solution file size limit in SharePoint. This cannot be done from the UI.

Refer to this article for the actual solution: