Compress

Garbage collection.
Format:
SPECTRA> comp$*$ress

Description:
The delete command removes GQEs from the queue by changing pointer values. The memory is still occupied. A compress removes deleted GQEs from the memory.

The function memory_free()), which is described in section 14.5.10, returns the number of bytes which are available.

Format:
SPECTRA> comp$*$ress/half

Description:
Execute compress only, if the remaining free space is less that half the total space.

Caution: A compress command moves the queue elements. Programs, which are linked with SPECTRA and which access queue elements directly through pointers have to re-arrange the pointers after a compress with calls to gra_-return_data_address These problems do not occur in interactive sessions.