https://userapps.support.sap.com/sap/support/knowledge/en/3616094
3616094 - How to identify which external command consumes a lot of memory | SAP Knowledge Base...
It has been observed that sapxpg process consumes a lot of memory To find out the external command which caused this issue, The trace has been switched on for...