Closed Bug 596317 Opened 16 years ago Closed 15 years ago

misleading error message: "script stack space quota is exhausted"

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: spoon, Assigned: igor)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/6.0.495.0 Safari/534.6 Build Identifier: I spent > 8 hours looking for stack-related causes to this problem. However, after looking at the below code, it looks like it is caused whenever the JS engine runs out of memory representing the JS code. http://mxr.mozilla.org/mozilla/ident?i=js_ReportOutOfScriptQuota Could the "stack" be dropped from this error message? "Script space quota is exhausted" would be clearer. Perhaps "script too large" would be even better. Reproducible: Always Steps to Reproduce: Load a semi-large JavaScript file, maybe 10 MB, into Firefox 3.6.x.
I guess "script too large" would be inaccurate, since this also applies to regular expression results. Perhaps, "Script memory quota exhausted" ?
Igor, can you field this one? Thanks, /be
Status: UNCONFIRMED → NEW
Ever confirmed: true
I will have a look at this.
Assignee: general → igor
bug 644241 removes this message
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.