Red Hat interview question

Heap and memory allocation in a transaction