When I use [[NSMutableAttributedString alloc]
initWithHTML:options:documentAttributes:], WebKit is apparently eating
a huge amount of memory if I call this method a lot of times (like
2,000 with raw HTML data from 100 bytes to 20 KB).
Either there is a memory leak or a large amount of data is cached.
It's not a leak from other parts of the code, I checked that (the
other parts "only" leak 45744 bytes according to leaks(1)).
I also tried multiple varations of WebPreferences settings (Use Page
Cache, Cache Model) for the options but the RAM hunger is still there.
To define eating: Application starts with RSIZE = 10 MB and ends up
with RSIZE = 813 MB.
Question:
---------
Is there a way to prevent this undesired behavior of WebKit?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden