save-image-and-exit ( path -- )
Factor handbook » The implementation » Images

Prev:save-image ( path -- )
Next:Bootstrapping new images


Vocabulary
memory

Inputs
patha pathname string


Outputs
None

Word description
Saves a snapshot of the heap to the given file, overwriting the file if it already exists. This word compacts the code heap and immediately exits Factor, since the Factor VM cannot continue executing after compiled code blocks have been moved around.

See also
save, save-image

Definition