BPEL-SE in the JavaCAPS 6.2 uses the JAXP 1.4 Transformer Pool for transformations. After the transformation of the payload, there is no mechanism to change the state of the transformer to its original state. The reset() method does not clear all the values.
The TransletOutputHandlerFactory within the Tranformer to hold the reference to the writer which inturn holds the result from the transformation.
Since the data of transformation is held within the Transformer, large message transformation resulted in the growth of the memory consumption.