Consultor Eletrônico



Kbase P104302: What is the formula for -Mxs with mandatory fields?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   14/11/2008
Status: Verified

GOAL:

What is the formula for -Mxs with mandatory fields?

GOAL:

How to calculate the value of -Mxs parameter when using mandatory fields.

GOAL:

What should be considered when using mandatory fields.

GOAL:

What should be considered when setting the -Mxs parameter.

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

FIX:

The approximate memory requirements when using mandatory fields is as follows:
480 bytes overhead
48 bytes for each table that contains mandatory field(s)
12 bytes for each mandatory field
These numbers are approximations and have been rounded up to account for the 32 bit and 64 bit datatype sizing differences. In addition, the sizes may change from release to release. The total number of bytes calculated must be added to the existing default -Mxs. The new value should be specified for -Mxs. For example, if the total memory required for the mandatory field array is 80K, the new -Mxs must be (80K + 16K + 4k (100 users)) or 100.
One possible way to change the shared memory sizing:
Increase the size of shared memory by 8K if -Mxs is not specified. If -Mxs is specified the size of shared memory will be increased by the value specified.