[−][src]Struct deno_core::HeapLimits
Minimum and maximum bytes of heap used in an isolate
Fields
initial: usize
By default V8 starts with a small heap and dynamically grows it to match the set of live objects. This may lead to ineffective garbage collections at startup if the live set is large. Setting the initial heap size avoids such garbage collections. Note that this does not affect young generation garbage collections.
max: usize
When the heap size approaches max
, V8 will perform series of
garbage collections and invoke the
NearHeapLimitCallback.
If the garbage collections do not help and the callback does not
increase the limit, then V8 will crash with V8::FatalProcessOutOfMemory.
Auto Trait Implementations
impl RefUnwindSafe for HeapLimits
impl Send for HeapLimits
impl Sync for HeapLimits
impl Unpin for HeapLimits
impl UnwindSafe for HeapLimits
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,