HPCC-9827 - Base roxiemem allocator cache on flags as well

Previously the roxiemem cache was based on meta and activity id
only, so it couldn't differentiate between allocators of
different types used by the same allocator.
Also ensure that when Thor activities ask for a unique allocator
they bypass the cache.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Simplify ensure, remove need for doCacheAdd flag
Remove unused/unneeded remove() and clear()

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #4838 from richardkchapman/no-checkPrimaries

HPCC-9800 Remove unused checkPrimaries option in Roxie

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #4824 from jakesmith/hpcc-9827

HPCC-9827 - Base roxiemem allocator cache on flags as well

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-9489 Add support to roxie for a checking memory allocator

Can be enabled per-query using @debugHeap, or globally via control:debugHeap
or adding debugHeap=true in the config file.

Note - this is deliberately NOT exposed in configmrg - it's not something
people should enable unless specially instructed.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9489 Add support to roxie for a checking memory allocator

Checks are more effective if they actually report the errors they find...

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>