mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[quickjs] Increased memory limit to 128MiB
This commit is contained in:
parent
d29cad5bd0
commit
c8d28d8558
@ -287,8 +287,8 @@ quickjs_get_interpreter(struct ecmascript_interpreter *interpreter)
|
||||
struct document_view *doc_view = vs->doc_view;
|
||||
struct document *document = doc_view->document;
|
||||
|
||||
JS_SetMemoryLimit(interpreter->rt, 64 * 1024 * 1024);
|
||||
JS_SetGCThreshold(interpreter->rt, 16 * 1024 * 1024);
|
||||
JS_SetMemoryLimit(interpreter->rt, 128 * 1024 * 1024);
|
||||
JS_SetGCThreshold(interpreter->rt, 32 * 1024 * 1024);
|
||||
|
||||
ctx = JS_NewContext(interpreter->rt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user