Memory Objects

Applications allocate and manipulate memory in terms of memory objects. A memory object consists of one or more pages of memory. An OS/2 application can allocate any number of memory objects, within the following limits:

When requesting memory, the size of the memory object is rounded up to the next higher multiple of 4KB. An application can suballocate a memory object into memory blocks whose size can range from 1 byte to the size of the memory object.

Memory objects have the following characteristics: