SetSaveHostMemory

API definition

APP_ERROR SetSaveHostMemory();

Function

Sets the host memory saving mode. This API is disabled by default.

Input

N/A

Output

N/A

Return value

APP_ERROR: return status. For details, see Return Code Reference.

Restrictions

  • This API must be used after Init is called and when records in the database are 0.
  • This API can save the host memory, but it reduces the performance of the APIs for deleting and obtaining data.
  • When this API is used, DeleteFeatureByToken cannot be used.
  • This API supports only the Hamming distance.