[TRAFODION-2738] Rowset buffer size during insert/upsert should be limited Rowset insert includes UnpackRows operator in its query tree. UnPackRows operator was allocating a larger memory based on rowset size and row size to flow the data to its parent operator.
Introduced a CQD EXE_MEMORY_FOR_UNPACK_ROWS_IN_MB to limit the amount of memory allocated in this operator. The default value is 100MB.
In addition, streamlined the NAMemory infrastruture to return NULL or dump core when more than 2 GB of memory is allocated in one chunk.
Ensured that CQD NUM_ESP_FRAGMENTS can take value upto 8. Removed the environment variable concept to set the number of esp fragments. Removed the CQDs ESP_NUM_FRAGMENTS_WITH_QUOTAS and ESP_MULTI_FRAGMENT_QUOTAS. Use the corresponding CQD ESP_NUM_FRAGMENTS and ESP_MUTLI_FRAGMENT instead (cherry picked from commit 72534e89633f3d4b8a61ab26d471aaa8b7f3e12a) Conflicts: