In the comments of PE-31775 it looks like the PDB terminus is holding duplicate copies of entity data in memory during command submission to PDB. We need to look into this issue and see if there is a way to restructure things to avoid holding multiple copies of the command data in-mem at the same time.