MapD is an incredible product with no c++ documentation, at least none that I could find. I successfully compile, run and load data from a cpp program into my MapD server with the load_table() function, as implemented in the “MapD.cpp” file.
However, I have a question regarding memory management. When I move my data to the server with load_table(), the transferred data remains on system memory, on the server process. I can force the server to save the transferred data to file by manually restarting the mapd_server, but that is a terrible solution.
The server keeps the transferred data on its heap, and does not clear memory. My question is: how can I force the server to clear the persistent memory?
And as I side note, if c++ documentation exists, I’d love a link.