Resolved memory issue by using BinaryData rather than Transformable.