pub unsafe extern "C" fn Highs_releaseMemory(
highs: *mut c_void,
) -> HighsIntExpand description
Release all retained memory back to the allocator.
Clears all solver state and shrinks internal vectors to free unused capacity. Useful in long-running services that reuse a Highs instance across multiple solves to prevent unbounded RSS growth from heap fragmentation.
@param highs A pointer to the Highs instance.
@returns A kHighsStatus constant indicating whether the call succeeded.