mint.garbage collector - Palamecia/mint GitHub Wiki

Module mint.garbage-collector

Description

load mint.garbage-collector

This module provides tools to manage the garbage collector.

Packages

Functions

Descriptions

GarbageCollector.collect

def ()

Forces the garbage collector to collect memory spaces that are no longer in use.

GarbageCollector.getRefCount

def (object)

Returns the references count for object.

def ()

Return the current collection count.

GarbageCollector.getThreshold

def ()

Returns the threshold used to activate automatic garbage collection.

def (threshold)

Sets the threshold used to activate automatic garbage collection to threshold.