hi - thanks for the very fast response :-)
My set up pushes a large JS file into the core, does some work, and then recycles (by just nullifying the JSContext object, as you do). If I look at memory consumption, it goes up when I insert the javascript into the core and execute JavaScript functions (in my case it jumps by about 100MB as I have a lot of JavaScript code ...) On dereferencing the JSContext and looping round, no discernible drop in memory happens. If I then loop back I end up increasing memory by approx 100MB each time ... so the memory consumption grows a lot :-)
I'll see if I can create a more simple setup and share it. My current app is not really something that is easy to work with :-)
chris
Topic:
Safari & Web
SubTopic:
General
Tags: