[webkit-help] JavaScriptCore: Best practices to limit memory usage

Lukas Kollmer lukas.kollmer at gmail.com
Sat Dec 31 05:37:18 PST 2016


Hi,

I'm trying to use JavaScriptCore in an iOS today widget. My problem is that
the JavaScript VM often exceeds the memory limits iOS puts on widgets
(which seems to be about 20 MB), resulting in the widget process getting
killed by iOS. Are there any easy steps one can take to reduce
JavaScriptCore's memory usage to a minimum, so that i can evaluate
JavaScript code without having my widget crash all the time?

Thanks!

-- 
Lukas Kollmer
lukas.kollmer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20161231/93b16d81/attachment.html>


More information about the webkit-help mailing list