Demonstrates how to use the StdAllocator class to register a custom dynamic memory allocator in place of the standard C runtime functions
malloc()andfree()for SQL statement execution.
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\bindirectory:api_sql_02_open_allocatorBut it is more instructive to run it in your development environment debugger, stepping through the code.