ITTIA DB SQL C API  5.4.0
db_memory_config_t Struct Reference

#include <ittia/db.h>

Data Fields

size_t block_size
db_flags_t mem_flags
size_t num_segs
db_memory_segment_t mem_seg [DB_MAX_MEMSEGMENT_COUNT]

Detailed Description

Configuration for built-in memory allocator.

Settings and resources defined here are shared between all database connections.


Field Documentation

Minimum unit of allocation.

Memory allocation flags.

Any combination of:

Number of memory segments for the built-in memory allocator.

If a single contiguous segment of memory of the desired size is not available, up to eight segments can be defined. Set to zero to use the system memory allocator.

List of memory segment definitions.