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

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


Inputs and outputs
patha pathname string

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