Skip to main content

take_external_memory

Function take_external_memory 

Source
pub fn take_external_memory() -> i64
Expand description

the change of the memory held by the arenas of javascript since the last call (bytes, negative when arenas were released). the N-API backend reports it to V8 (napi_adjust_external_memory): V8 collects the arenas that are no longer used sooner, its heap does not show their memory