Re: Heap management in C++ UDFs?

2016-04-28 Thread Hans Zeller
Hi Dave, Yes, the general model is to use C++ new and delete, and it is the UDR writer's responsibility not to leak objects. In more detail: *The simple and easy model* Don't allocate resources in the compile time interface. At runtime (in the method that overrides UDR::processData()), allocate

Heap management in C++ UDFs?

2016-04-28 Thread Dave Birdsall
Hi, Are there any special considerations for heap management in a C++ UDF? I’m guessing that at run-time, we just use the usual C++ new and delete? I’m guessing that at run-time, all we need to do is anchor any heap-allocated variables from local variables in the processData method, being

Trafodion on CentOS 7.x: CPU usage differences--cosmetic change or an OS level change that can be used to improve system performance?

2016-04-28 Thread D. Markt
Hi, I know, this is the Trafodion user DL not a CentOS 7.x DL, but given an OS changes major versions months if not years before the next level software starts to use it, I assume Trafodion users will come looking here once CentOS 7.x is a supported version. I have had access to some prototy