|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChartPack Rot3D Properties AllocSize|
|See also: Tr3ChartItem, DataContainer|
The property AllocSize determines how much memory is allocated when the number of entries of the data container is increased. Memory is allocated in chunks of AllocSize chart items (each of which consumes approx. 60 bytes). By default, AllocRowsBy is set to 1000; it should be increased if more than a few thousand chart elements are to be displayed by the component.
If, for example, AllocSize is set to 20000, room for an additional 20000 data container elements is allocated if the currently reserved memory is exceeded. The optimal allocation size is always controlled by a compromise between optimum performance (high allocation size) and minimum memory consumption (small allocation size).