SetMaxDataSize

Function Usage

This function is used to set the maximum memory size allowed for a MemoryData object.

Prototype

static APP_ERROR SetMaxDataSize(long size);

Parameter Description

Parameter

Input/Output

Description

size

Input

Maximum memory size, in bytes. Value range: 1 ≤ size ≤ 2147483648

Return Parameter Description

Data Structure

Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.