try to fall back to smaller memory sizes when extending object areas (allows more economic memory use)
added API functions to query database memory segment size and (estimated) free space in it