The warning is there to stop excessive ram or CPU usage, if you can break that usage up it can prevent the warning, either rewrite your code to reduce load, or add break points in the code where you can do something like:
// some stuff here
setTimeout(intensiveBit2, 500);// wait half a sec
// then some more stuff
setTimeout(intensiveBit3, 500);// wait half a sec
// last bits of your function or whatever
If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
The same applies to HTML and the forums [HTML][/HTML] tags.