After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 581277 - Call JS_SetScriptStackQuota on our contexts
Call JS_SetScriptStackQuota on our contexts
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2009-05-04 09:03 UTC by Johan Bilien
Modified: 2009-05-04 17:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
set same script stack quota as firefox 3 (1.29 KB, patch)
2009-05-04 09:09 UTC, Johan Bilien
committed Details | Review

Description Johan Bilien 2009-05-04 09:03:25 UTC
firefox sets this to 100MB, we use the default of 32MB. This sometimes results in "script stack space quota is exhausted" errors.

In our specific case this happens when parsing a big string as JSON.
Comment 1 Johan Bilien 2009-05-04 09:09:01 UTC
Created attachment 133908 [details] [review]
set same script stack quota as firefox 3
Comment 2 Havoc Pennington 2009-05-04 12:34:44 UTC
Looks good.
Comment 3 Johan Bilien 2009-05-04 17:05:25 UTC
pushed as 72b6b249236c9ab27e110dab031ec0f2888458c7