Consultor Eletrônico



Kbase 2601: CTOS, R-CODE Librarian, and Memory Problems
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
CTOS, R-CODE Librarian, and Memory Problems

920608-ptg01Using Progress Librarian (prolib) under BTOS, there are some
artificial memory limits set. The maximum amount of data memory
allowed is 200K. However, there is a generic problem with the
Librarian across all platforms where it does not correctly
release memory, thus on large adds or creates this 200K parameter
can be exceeded.

There are two ways to bypass this problem. The first is to run the
librarian under Context Manager (CM), with a context which has a
partition size greater than 200K. Within CM, the memory is allocated
using a different algorithm which allows Progress to take advantage
of all memory within that partition.

The second way is to cure the problem completely by raising the
200K limit. This may be done by using the CTOS command VERSION.
VERSION can modify the actual executable to change its memory
limits. Be sure to back up your run file before executing the
following command.

VERSION
File list [SYS]<DLC>PROLIB.RUN
[Details] y
[Print file]
[Run file mode]
[Min array, data, code]
[Max array, data, code] '' 500000
.
.

In the above example we are raising the limit from 200K to 500K.
Note: It is very important that you use the set of single
quotes for Max array as this parameter should not be changed.

Progress Software Technical Support Note # 2601