The use of sharable libraries constrains the way memory is used
within object modules. In particular, uninitialized data should not be
statically declared (i.e. as large arrays) but rather allocated from the heap
so that the uninitialized data segment for the sharable object as a whole is
kept as small as possible. Otherwise, large amounts of static memory may
needlessly be allocated to processes which do not require it. However, this
topic is properly the domain of coding standards and is not addressed here.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.