Html source too long

Hi, i have create a page with html macro and html source code of 42k lines of code, but when I save the xwiki page it goes wrong asking me to log in and very often it goes down. what is the maximum size for a page?