+ Start a Discussion

How to Avoid "Script Too large" error?

Hi All,

   I came across an issue now which should not get at this point of time. Actually, i am working on a controller. I 've already reached apprx 3000 lines of code. Still the requirement is there to code in the controller. But it is showing SCRIPT TOO LARGE error, how could i overcome this issue?


Thanks in advance,


Richie DRichie D



If you are approaching 3000 lines then I would suggest that you think about redesigning your code. Abstraction, helper classes, super classes etc... will all help to keep your classes to a maintainable size.