Skip to documentation
DocumentationAll documentsEnglish

GARBAGE_COLLECT(nged)

NAME

garbage_collect - Eliminates unused space in a BRL-CAD database file.

On this page

SYNOPSIS

garbage_collect [-h | --help]
garbage_collect [-c | --confirm]

DESCRIPTION

Eliminates unused space in a BRL-CAD database file.

The operation is intentionally guarded: the actual rewrite is performed only when -c or --confirm is supplied. Invoking the command with no arguments prints the help text.

OPTIONS

-h, --help

Print help and exit.

-c, --confirm

Execute the garbage-collection operation.

EXAMPLES

The example shows the use of the garbage_collect command to delete unused space in a BRL-CAD database file.

Example 1. Delete unused space in a BRL-CAD database file.
mged> garbage_collect

-c Cleans out unused space in the database.

AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org