Yes, i also faced this problem, what i did was if file size was > 100kb then i delete cookies and bot will check if cookies are not present then it will call login function and new cookies file will be saved which will be less than 100 kb.
@Omini yes, I just tried this way too, it still seems to cut-off at 1,000,000 bytes, so it wasn't related to breaking due to content etc, it still seems to be a data length / quota memory problem
There should not be any problems.
Load profile with gmail, than simply open new
tab and navigate to other site, Then just go back
to TAB where gmail is and confirm incoming mail.