Unloading Protected Address Spaces

To unload a module from a protected space or to unload the space itself, use the following commands at the server console prompt.

Command

Description

Example

UNLOAD ADDRESS SPACE = space_name module_name

Unloads the specified module from the specified address space.

If the module is loaded into more than one address space, this command removes the module only from the designated address space.

UNLOAD ADDRESS SPACE = ADDRESS_SPACE1 DATABASE.NLM

Unloads database.nlm from ADDRESS_SPACE1, but does not remove the address space.

UNLOAD ADDRESS SPACE = space_name

Unloads all modules from the designated address space and removes the space.

UNLOAD ADDRESS SPACE = ADDRESS_SPACE1

Unloads all the modules from ADDRESS_SPACE1, closes ADDRESS_SPACE1, and returns its resources to the system.

UNLOAD KILL ADDRESS SPACE = space_name

Removes the address space but without unloading the modules first.

Use this command only if you know the space can't be unloaded with the UNLOAD ADDRESS SPACE command.

UNLOAD KILL ADDRESS SPACE=ADDRESS_SPACE1

Removes ADDRESS_SPACE1 without unloading modules . Returns the resources of ADDRESS_SPACE1 to the system.