How big is it? I have had no problem with files that have over 20000 lines of code. They are just a bit slower to process. Is the page timing out or is there another error happening? There are no size restrictions that I am aware of. Edit: Also, you might want to look into using the ons-template tag and then using separate templates if your project has multiple pages/sections of content.