firecrawl-local 0.1.1

Firecrawl Local: scrape, crawl and map on your own machine from one binary, with a hand-off to Firecrawl cloud.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Giving memory back.
//!
//! Parsing big pages allocates a lot for a moment. The allocator keeps that
//! memory for reuse, which makes an idle engine look far larger than it is.
//! This asks it to return what it is not using.

/// Return free heap memory to the operating system. Safe to call at any
/// time.
pub fn release_free_memory() {
  unsafe {
    libmimalloc_sys::mi_collect(true);
  }
}