Amazon S3 PutObject having memory and performance Issues with XML SDK Connector
Salesforce says this works as designed.
Summary
Amazon S3 PutObject having memory and performance Issues with XML XDK Connector:
The customer has created a custom connector for logging and it works great -- no performance issue in Production in terms of CPU usage and JVM/Heap Usage.
They have recently enhanced it to have the ability to upload to S3 if the payload > 1MB.
When they did the performance testing after this enhancement, we noticed that the sample API was reaching 100% CPU usage and JVM Heap Usage even for small payloads which doesn't use S3.
Seems like just embedding the S3 connector in the custom connector is causing the performance issue.
Doesn't matter if the load being tested is very small or big payload > 1MB. The spike is still up to 100%.
The sample API we did was not doing much, just accept request and return a simple response. There are no other logs that will consume too much CPU or memory.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Working as Expected with 17 reports
Nov 30, 2026
Also open in Anypoint Connectors
SFTP Connector Write Operation Fails with SSH_FX_NO_SUCH_FILE Exception
Solution ScheduledMuleSoft / Anypoint ConnectorsReported Sep 10, 202559 reports59reports
Azure Event Hib listener not listening the events when it stoped and restarted due to checkpoint not created
Solution ScheduledMuleSoft / Anypoint ConnectorsReported Feb 14, 202422 reports22reports
JMS connector - enabling TLS cause problems with property socket.verifyHostName=false
Solution ScheduledMuleSoft / Anypoint Connectorsv1.9.1Reported Feb 28, 202419 reports19reports
Performance improvement for Sftp Connector 2.x
In ReviewMuleSoft / Anypoint ConnectorsReported Sep 26, 202416 reports16reports