Memory and network considerations

Each library (procedure library or archive library) has an internal directory that OpenEdge uses to access members. OpenEdge loads this directory into memory when it opens the library. The directory stays in memory until the library is closed.

The following memory and network considerations apply to procedure libraries only:
  • By default, OpenEdge tries to load the entire directory of each procedure library into memory. In some cases, you might not have enough available memory to store a library's entire internal directory. Use the PROLIB Memory (-plm) startup parameter to limit the size of a standard procedure library's internal directory in memory. This parameter allocates a 512-byte cache for a standard procedure library's directory. This parameter is especially useful when running in limited memory with several libraries opened simultaneously. If you specify the PROLIB Memory (-plm) startup parameter with memory-mapped procedure libraries, OpenEdge ignores it.
  • If you run OpenEdge over a network and place a standard procedure library on a file server, remote reads from the library might take longer than reading an r-code file and storing it locally in the r-code swap file. Use the PROLIB Swap (-pls) startup parameter to store standard procedure library members locally in the r-code swap file. If you specify the PROLIB Swap (-pls) startup parameter with memory-mapped procedure libraries, OpenEdge ignores it.