skip to main content

SAP NetWeaver Newbie

OutOfMemory Error due to XSLT Transformations


XI uses caching to speed up XSLT transformations. The mappings structures (transformer objects) that are already generated are stored in a mapping pool for reuse. Whenever a mapping is required, a transformer object is required to execute the mapping. Therefore the mapping pool will store as many transformer objects as the number of messages being mapped. By default the maximum number of transformer objects is set to 20, which means that this limit is reached when 20 messages are being mapped using the same XSLT logic. Storing these transformer objects in heap can degrade performance or cause OOM error if the messages are large in size.

To minimize the chances of performance problem due to caching of transformer objects:
1. Apply the latest patch for SAP J2EE ENGINE CORE
2. Reduce the maximum number of transformer objects that can be used in a memory pool to 1 (from default 20)
   a. Call exchange profile http://<server>:<port>/exchangeProfile
   b. Go to category Integration Server -> IntegrationServer.MappingRuntime
   c. Add the AIIProperty com.sap.aii.mapping.transformerPoolLineSize and set its value to 1.

No comments:

Post a Comment

Email Subscription

Get every new post into your inbox by subscribing us.

Want a reason to subscribe?
1. This sitemap might convince you to subscribe.
2. We do not misuse email IDs. We respect privacy.

© 2008 - 2017 sapnwnewbie. All rights reserved.