# 02-Open_Allocator

> Demonstrates the use of class StdAllocator to register a custom dynamic memory allocator to substitute standard C runtime function `malloc()` and `free()` for SQL statement execution.

### How to Run

> See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the `\target\bin` directory:

>         api_sql_02_open_allocator

> But it is more instructive to run it in your development environment debugger, stepping through the code.