Skip to main content

release_free_memory

Function release_free_memory 

Source
pub fn release_free_memory() -> bool
Expand description

Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Asks the allocator to return free pages to the system.

Returns whether the platform has such a call — see DeviceInfo::release_free_memory. Worth doing after finishing with a large buffer on a platform that kills by resident size, and worth doing nowhere else: it walks the allocator’s arenas.