Consultor Eletrônico



Kbase 15763: How memory is allocated for -bibufs and -aibufs
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
How memory is allocated for -bibufs and -aibufs


In Version 7 and higher, PROGRESS allows you to set the -biblocksize
and -aiblocksize. These parameters determine the size of each bi and
ai buffer respectively. The default value for each of these is 1024
bytes, or 1K. The maximum value for this parameter is 16384 bytes or
16K.

PROGRESS also allows you to set the -bibufs and -aibufs. These
parameters set the number of bi and ai buffers respectively. The
default value for -bibufs is 5 and the default for -aibufs is 1.

When PROGRESS allocates memory at startup for bi buffers, we use the
maximum value for -biblocksize(16K) multiplied by the value for
-bibufs.

Example:
Suppose the following conditions exist.

-biblocksize 1024
-bibufs 50

This means that the total memory allocated for the bi buffers is
819200 bytes (16384 X 50).

Although there is additional memory allocated, we utilize only the
number of bi buffers X the actual biblocksize.

The above is also true for ai buffers.


This was logged as a bug in Version 7 and Version 8. There are no
plans to patch this bug in these versions.


16-May-96

Progress Software Technical Support Note # 15763