Managing storage in data spaces differs from managing storage in
address spaces. Keep the following advisory notes in mind:
- When you create a data space, request a maximum size large enough
to handle your application's needs and, optionally, an initial size
large enough to meet its immediate needs.
- You can use callable cell pool services to keep track of data
space storage. (The STORAGE, GETMAIN, FREEMAIN, or CPOOL macros do
not manage data space storage.) For information about how to use
callable cell pool services and an example of its use with data spaces,
see Using callable cell pool services to manage data space areas.
- If you are not going to use an area of a data space again, release
that area to free the resources that back the area.
- When you are finished using a data space, remove its entry from
the access list and delete the data space.