BoutrosLab.plotting.general (version 5.9.2)

GarbageCollect: Force Garbage Collection

Description

This function forces garbage collection to help ensure as much memory as necessary is returned. It's just a wrapper to gc() that allows multiple-calls and leads to more readable code.

Usage

GarbageCollect(x);

Arguments

x

Number of iterations of gc() to run, defaults to nine

Value

No return value

Examples

Run this code
# NOT RUN {
GarbageCollect(3);
# }

Run the code above in your browser using DataCamp Workspace