ltk_webkit

Function set_memory_limit

Source
pub fn set_memory_limit(mib: u32)
Expand description

Memory a web process, or the network process, may use before WebKit starts giving it back: caches from a third of the limit, all it can from half. Unset, WebKit derives the limit from the machine, up to 3 GiB. Call it before anything else in this crate; zero is ignored.