You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When MI is doing a xslt transformation using the xslt mediator, if the input message size that is being transformed exceeds the synapse.temp_data.chunk.size, it will create a temporary file.
Once the transformation has been completed, if the transformed message size exceeds the synapse.temp_data.chunk.size, another temporary file will be created. At the moment, MI does not manually delete this temporary file as the reference for the content of this file can be used later, even after the xslt transformation. It is expected to be deleted at java.lang.Object.finalize() from the GC thread when there are no references to this temporary file.
We need to run a cron job to manually delete the files or else we have to add a cleanup task before starting the server. Then at every restart, the tmp folder will be cleaned up.
We need to add these details in xslt mediator docs.
Steps to Reproduce
Execute xslt transformation using the xslt mediator, which the input message size that is being transformed exceeds the synapse.temp_data.chunk.size.
Version
wso2mi/4.x.x
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered:
Description
When MI is doing a xslt transformation using the xslt mediator, if the input message size that is being transformed exceeds the synapse.temp_data.chunk.size, it will create a temporary file.
Once the transformation has been completed, if the transformed message size exceeds the synapse.temp_data.chunk.size, another temporary file will be created. At the moment, MI does not manually delete this temporary file as the reference for the content of this file can be used later, even after the xslt transformation. It is expected to be deleted at java.lang.Object.finalize() from the GC thread when there are no references to this temporary file.
We need to run a cron job to manually delete the files or else we have to add a cleanup task before starting the server. Then at every restart, the tmp folder will be cleaned up.
We need to add these details in xslt mediator docs.
Steps to Reproduce
Execute xslt transformation using the xslt mediator, which the input message size that is being transformed exceeds the synapse.temp_data.chunk.size.
Version
wso2mi/4.x.x
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: