i am working with a large XMl response from a webservice. when i try to get that using a url, after sometimes it displaya an error in Firebug that "script stack space quota is exhausted" how can i solve that????
+4
A:
It sounds like there is some recursion going on when processing the xml, that is essentially causing a stack overflow (by any name).
Thoughts:
- work with less data
- if you are processing the data manually, try to use less recursion? perhaps manual tail-call or queue/stack based
- consider json - then you can offload to the script host to rehydrate the object without any extra processing
Marc Gravell
2009-06-16 08:38:44
this is a good idea, just to make sure the problem is in firefox itself
annakata
2009-06-16 08:40:17
its with the firefox itself
Jasim
2009-06-16 08:49:31
A:
As of Firefox 3, the available stack space has dropped from 4MB to ~= 640KB (I'm passing on word of mouth here).
Do you happen to be running FF3?
Chris Hagan
2010-02-16 10:06:51