PROLIB Swap (-pls)
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
PROLIB Swap (-pls)
Use PROLIB Swap (-pls) to direct
the AVM to store r-code segments from a standard procedure library locally
in the r-code swap file, rather than the usual behavior.
| Operating system and syntax | UNIX / Windows |
-pls
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Session | — | — | — | — |
Usually, OpenEdge opens the library file and loads the required r-code segments into the r-code execution buffer. When OpenEdge needs to make space, the segment is removed from the execution buffer. Later, if that segment is needed again, OpenEdge re-reads the segment from the open library which remains in the execution buffer until the end of your OpenEdge session or until you remove the library from the PROPATH.
This process is generally faster than loading the r-code segment from the r-code swap file. However, if the procedure library is accessed over a network, reading r-code segments once and storing them locally in the r-code swap file might be more efficient.
-pls.If you specify -pls with memory-mapped
procedure libraries, the AVM ignores it. For more information on procedure libraries, see
Manage ABL Applications and Develop ABL
Applications.